This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes ADO connection and JAVA --- Pls. HELP!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ADO connection and JAVA --- Pls. HELP!!!" Watch "ADO connection and JAVA --- Pls. HELP!!!" New topic
Author

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

lydia westland
Ranch Hand

Joined: Feb 24, 2002
Posts: 72
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


Lydia<br />~~~~~~~~~~~~<br />I love Italy team.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
sanz nsgha
Ranch Hand

Joined: Jan 18, 2002
Posts: 42
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!
 
Don't get me started about those stupid light bulbs.
 
subject: ADO connection and JAVA --- Pls. HELP!!!
 
Similar Threads
What happens if Database Connections not closed?
jdbc:odbc password definition
Newbie in JSP
Hospital Application In Dark
web based sql client