• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ADO connection and JAVA --- Pls. HELP!!!

 
lydia westland
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
I have a Java application, whose database connection is through ODBC to SQL server. But this project is going to be integrated with another project; that project is using ADO connection to SQL server 7.0. May I know if Java application can use ADO connection as well? then I don't have much to change.
Thank you so much
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well the ADO connection is just a connection to the Database, that's what JDBC is for, and you can use the JDBC-ODBC Bridge if you want to keep use the same DSN on the users machine.
I am assuming VB or VB like code for the other App using the ADO Connection.
There is also JIntegra which is a COM to Java bridge, which would allow you to use it.
But again I suggest sticking with JDBC to connect to your SQL Server.
But also note, I am not an expert in this subject, I just know ADO and I know JDBC, I just never heard of using Java and ADO together, its like putting Yugo car parts into a Ferrari.
Mark
 
sanz nsgha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lydia, you can use ADO with Java using third party drivers. i used infoZoom's ADO driver and got quite good results in some cases. here's the link where you can download a trial copy:
http://www.infozoom.de/ie/javaado.html
good luck!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic