Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by Angela D'souza:
Statement:-
so,my application with JDBC without specifying database type(Oracle,DB1) should be smart enough to connect to any database and use general query which should work with any database to make table, add rows, columns with data,retrieve data,query data?
So this above statement not possible... Am I right?
Thanks,
Angela
Originally posted by Jamie Robertson:
Remember, JDBC-ODBC relies on the computer to be set up with a DSN. It doesn't just know where the database is. This means that you need to set up each users computer to use it. If you use a different jdbc driver ( vendor specific ), each deployment may have their database in different locations with different names, using different ports ( requires different connection URL ), so this will need to be specified at the time of writing the code, or you may be able to do it at set-up/deployment time. Not to mention that the vendor specific drivers usually have their own unique URL format used in the connection.
Jamie
Originally posted by Thomas Paul:
Then you just use regular JDBC. But I would not recommend using JDBC-ODBC. Last I checked it was not recommened for production.
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
Yeah, but is it art? What do you think tiny ad?
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|