This content has been marked as final. Show 3 replies
yes of course, JSR169 is there !
have a look,
download JDBC Optional Package for CDC/Foundation Profile - Final Release (April 8, 2004) http://java.sun.com/products/jdbc/download.html
Maybe I am not understanding this correctly. With j2me cdc I have to connect to DB's using DataSource and not DriverManager. So for a mssql connection it would be:
DataSource ds = new SQLServerDataSource();
ds.setDatabaseName("DB name here");
But whenever i try to run this I get an exception that javax.naming.Referenceable is not found, its not part of j2me cdc. I am using the mssql 2005 drivers 1.1
Maybe I am way off track, any help would be greatly appreciated.
I am not sure for mssql.
I am using JavaDB where EmbeddedSimpleDataSource is Derby's DataSource implementation for J2ME/CDC/Foundation
Edited by: Pragun on Aug 21, 2009 10:59 AM