Issue Details (XML | Word | Printable)

Key: DERBY-97
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Daniel John Debrunner
Reporter: Daniel John Debrunner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Support J2ME/CDC/Foundation with JSR169 JDBC subset

Created: 09/Dec/04 08:13 PM   Updated: 01/Jul/09 12:34 AM
Return to search
Component/s: JDBC, Tools
Affects Version/s: None
Fix Version/s: 10.1.1.0

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

File Attachments:
  Size
HTML File Licensed for inclusion in ASF works derbyJSR169Design.html 2004-12-15 06:00 PM Daniel John Debrunner 17 kB
HTML File Licensed for inclusion in ASF works derbyJSR169Spec.htm 2004-12-09 08:14 PM Daniel John Debrunner 16 kB
HTML File Licensed for inclusion in ASF works derbyJSR169Spec_20050210.htm 2005-02-11 04:45 AM Daniel John Debrunner 16 kB

Resolution Date: 30/Jun/05 05:56 AM

Sub-Tasks  All   Open   
No sub-tasks match this view.

 Description  « Hide
Add support for Derby running in J2ME/CDC/Foundation platform
JDBC API defined by JDBC Optional Package for CDC/Foundation Profile (JSR169).

See functional spec attached.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Daniel John Debrunner made changes - 09/Dec/04 08:14 PM
Field Original Value New Value
Attachment derbyJSR169Spec.htm [ 18347 ]
Daniel John Debrunner added a comment - 15/Dec/04 06:00 PM
Design notes for JSR169

Daniel John Debrunner made changes - 15/Dec/04 06:00 PM
Attachment derbyJSR169Design.html [ 18405 ]
Daniel John Debrunner added a comment - 11/Feb/05 04:45 AM
Fix incorrect package name of DataSource implementation

Daniel John Debrunner made changes - 11/Feb/05 04:45 AM
Attachment derbyJSR169Spec_20050210.htm [ 18927 ]
Jeff Levitt added a comment - 14/May/05 06:46 AM
I suspect that these changes would affect the doc, but in looking at the spec, it wasn't clear to me what would need to change. I'd like to update the docs for this, so if someone can provide a little more document-oriented detail on this, I would be happy to make the changes.

Daniel John Debrunner made changes - 06/Jun/05 09:14 AM
Status Open [ 1 ] In Progress [ 3 ]
Daniel John Debrunner made changes - 06/Jun/05 09:16 AM
Description Add support for Derby running in J2ME/CDC/Foundation platform
JDBC API defined by JDBC Optional Package for CDC/Foundation Profile (JSR169).

See functional spec attached.
Add support for Derby running in J2ME/CDC/Foundation platform
JDBC API defined by JDBC Optional Package for CDC/Foundation Profile (JSR169).

See functional spec attached.
Fix Version/s 10.1.0.0 [ 10993 ]
Environment
Daniel John Debrunner added a comment - 10/Jun/05 08:49 AM
Revision 189858 is the last revision for JSR169.

The functionality differs from the spec (20050201) in three ways:

------

1) Diagnostic tables are not supported in JSR 169

2) Triggers are not supported in JSR169

3) DECIMAL parameters do not have a mapping into a Java object for procedure/function parameters or return types.

------
1) and 2) are due to those features relying on internally on VTI which currently has dependencies on BigDecimal. These need a easily downloadable JSR169 jar file to proceed. I don't want to limit the ability to build Derby at this point.

3) I now think is the correct approach, otherwise I beleive the behaviour under JSR169 would not be in line with the SQL standard and would have different behaviour between JSR169 and J2SE/J2EE

Also the test harness is running under JSR169 and the tests that should run seem to pass. I need to look at the failures to see they are expected, from checks so far they are, e.g. tests fail due to DriverManager, Driver or BigDecimal not being found. I then need to add exclude flags for those tests and suites that need to be skipped in JSR169.

Daniel John Debrunner added a comment - 30/Jun/05 05:56 AM
JSR functionality for 10.1 is complete. sub-tasks can be added to further work.

Daniel John Debrunner made changes - 30/Jun/05 05:56 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Daniel John Debrunner made changes - 12/Jul/06 06:43 AM
Status Resolved [ 5 ] Closed [ 6 ]
Repository Revision Date User Message
ASF #521401 Thu Mar 22 18:41:18 UTC 2007 abrown DERBY-2264 (followup): Disable jdbcapi/DboPowersTest for JSR169 since
Derby does not support database encryption for that platform (per
the specification for JSR169 attached to DERBY-97).

Contributed by: Dag Wanvik (dag.wanvik@sun.com)
Files Changed
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DboPowersTest.java

Dag H. Wanvik made changes - 01/Jul/09 12:34 AM
Issue Type New Feature [ 2 ] Improvement [ 4 ]