|
-
Dec 2nd, 2003, 01:18 AM
#1
Thread Starter
Addicted Member
Java and DB's
hi
i'm quite good at java, and really like the language...i'm wondering how i'd get some databse connectivity going??
i've used VB and access a lot, i'm wondering if i can do the same database stuff i can with VB
or what db can i connect java to...easily and with mostly everything from vb and access...
thanx
--770
-
Dec 2nd, 2003, 08:08 AM
#2
Lively Member
You can use JDBC, same idea as ODBC. You can connect to any database that has a JDBC driver, Access should not be a problem
-
Dec 3rd, 2003, 11:11 AM
#3
Actually Access IS a problem because MS doesn't provide JDBC drivers for their DBs. You can use 3rd party drivers or the JDBC-ODBC bridge and the Jet ODBC driver.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 9th, 2003, 02:59 AM
#4
Dazed Member
Yes CornedBee is correct. Sun says the following......
"Most ODBC 2.0 drivers should work with the Bridge. Since there is some variation in functionality between ODBC drivers, the functionality of the bridge may be affected. The bridge works with popular PC databases, such as Microsoft Access and FoxPro."
Im assuming by this statement that is would be better to get a specific driver rather than use the JDBC-ODBC bridge.
Here is the main page for the JDBC Data Access API technology.
http://java.sun.com/products/jdbc/
Here is Suns look up page to find JDBC drivers for various Data Bases. http://servlet.java.sun.com/products/jdbc/drivers
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
|
Click Here to Expand Forum to Full Width
|