DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Alex Omar Pagan Ortiz Guest

    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("jdbcdbc: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

  2. #2
    alberto Guest

    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("jdbcdbc: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



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links