The documentation for this is also available in Derby10.1 manuals: http://db.apache.org/derby/docs/10.1/ref/refderby.pdf (Look for JSR169) http://db.apache.org/derby/docs/10.1/devguide/derbydev.pdf (Look for DataSource)
Deepa On 9/8/05, Daniel John Debrunner <[EMAIL PROTECTED]> wrote: > Trevor Armstrong wrote: > > > Hi, > > I'm trying to get Derby working on my Windows Mobile 2003 Pocket PC. First > > of all I'm trying to get that simple sample program that comes with Derby > > running on it. Unfortunetly this program doesn't make it very far before > > crashing at the line that loads the database driver: > > Class.forName(driver).newInstance(); > > CDC/Foundation does not support java.sql.DriverManager/Driver so the > sample program will not work. > > To obtain a connection you need to use the javax.sql.DataSource api, and > Derby 10.1 provides the implementation > org.apache.derby.jdbc.EmbeddedSimpleDataSource > for CDC/Foundation. > > There is a functiona spec attached to this bug that shows how to use it. > > http://issues.apache.org/jira/browse/DERBY-97 > > Dan. > >
