JBuilder 3.0 vs Visual J++ 6.0


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: JBuilder 3.0 vs Visual J++ 6.0

  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



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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center