Derby Embedded JSR 169 Functional Spec

 

Summary

 

Database Features

Embedded (derby.jar), sysinfo, dblook, and ij (derbytools.jar) will be modified to work under JSR169 on J2ME/CDC/Foundation (Foundation).

These features will not be modified to work on Foundation:

 

The support for JSR169 and Foundation will be built into the existing Jar files, derby.jar and derbytools.jar. A single set of jars for all platforms is preferable from an ease of use point of view. While it may be thought that a separate smaller jar would be better for a J2ME platform, the actual savings in jar file size is not significant, since the majority of the Derby code is from the SQL language area, which will be (almost) fully supported in JSR169.

 

Databases created under JSR 169 will be portable to J2SE platforms.

Non-encrypted databases created under J2SE platforms will be portable to J2ME platforms, though they may contain SQL elements that are not supported in Derby on Foundation, see SQL section.

JDBC

JSR 169 provides a sub-set of the JDBC 3.0 specification for the Foundation platform.

Derby will support the subset of its JDBC 3.0 support as specified by JSR 169.

Some specific points to note are:

SQL

SQL language remains unchanged when running in JSR169 with these exceptions:

Tools

Sysinfo will be modified to display addition information (Derby JRE Level) that indicates the JRE level that Derby understands the running JVM to be, which will be one of:

Builds

In order to build derby additional jars will need to be downloaded:

Testing

I will run all tests under java/testing against Derby in JSR169 on IBM’s WCTME 5.7 with the exception of:

 

References