db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Help getting started with j9 and derby
Date Thu, 04 Jan 2007 22:00:35 GMT
Stephen More wrote:
> I am using j9 ( WebSphere Everyplace Micro Environment 6.1.1 - CDC
> 1.1/Foundation 1.1/Personal Profile 1.1 for linux
> http://www-128.ibm.com/developerworks/websphere/zones/wireless/weme_eval_runtimes.html

> 
> )
> 
> I downloaded and compiled the JSR 169 package (
> http://developers.sun.com/techtopics/mobility/apis/ )
> 
> I downloaded db-derby-10.2.2.0-bin
> 
> But where do I get java.sql.Driver from ?

You don't. :-)

J2ME/CDC/Foundation with JSR 169 does not support java.sql.Driver. All 
connections are obtained through the javax.sql.DataSource api. Derby 
provides this data source for JSR 169.

org.apache.derby.jdbc.EmbeddedSimpleDataSource

See the javadoc at:

http://db.apache.org/derby/docs/10.2/publishedapi/jdbc3/

Dan.


Mime
View raw message