What is the JDBC equivalent of "ODBC Data Source Administrator" ODBC Data Source Administartor facilitates for selecting a driver and setting up all data source specific attributes to establish a connection to the data store(DSN). To incorporate such a functionality in my software, is there any counterpart which I can use for JDBC drivers?

Joe Sam Shirah

There is not a JDBC specific equivalent, but the Java way, typically, is to use properties files or ResourceBundles. For an example, see Generalizing Connection Information--Batch in my JDBC 2.0 Fundamentals course.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact