dcsimg
DatabaseMetaData
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abbas_Kazmi
Posted On:   Thursday, March 27, 2003 12:18 AM

i m trying to get the META-DATA of Access database. the code which i m using is as follows



String tableType[] = new String[1];
tableType[0] = "TABLE"
DatabaseMetaData dbMetaData = connection.getMetaData();

ResultSet rs = dbMetaData.getTables("","","",tabletype);



It is giving me an exception which is as follows

"Optional Feature not Implemented"
but it only occurs while getting Access database Meta data
can u tell me wot can i do ???

Re: DatabaseMetaData

Posted By:   Ivo_Limmen  
Posted On:   Thursday, March 27, 2003 12:23 AM

You are probably using the JDBC-ODBC bridge, this driver does not support this feature. Futhermore, not all JDBC drivers support Database Metadata. Try and find a JDBC driver for Access that does support it, this would probably mean that you will have to buy a commercial driver. Look at the Sun site for a list of available JDBC drivers.
About | Sitemap | Contact