-
JBuilder 3.0 vs Visual J++ 6.0
I created a class in JBuilder that access a database through jdbc, using
the instructions
Connection con;
Class.formName(sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc dbc:databasename",user,password);
works fine in JBuilder but does not get connected to the database when I
use Visual J++ 6.0 request the class JdbcOdbcDriver.java to do it.
I would like to know how I can get connected to th db using Visual J++.
Regards,
Alex
-
Re: JBuilder 3.0 vs Visual J++ 6.0
will be difficult. the code in J++ is really not pure java so you have to
find the differences in there. they may not even use the sun driver---ae
"Alex Omar Pagan Ortiz" <aortiz@dcti.com> wrote:
>
>
>I created a class in JBuilder that access a database through jdbc, using
>the instructions
>
>Connection con;
>
>Class.formName(sun.jdbc.odbc.JdbcOdbcDriver");
>con=DriverManager.getConnection("jdbc dbc:databasename",user,password);
>
>works fine in JBuilder but does not get connected to the database when I
>use Visual J++ 6.0 request the class JdbcOdbcDriver.java to do it.
>
>I would like to know how I can get connected to th db using Visual J++.
>
>Regards,
>
>Alex
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks