db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jdo Wiki] Update of "ChangeLog15" by CraigRussell
Date Tue, 10 Oct 2006 18:01:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jdo Wiki" for change notification.

The following page has been changed by CraigRussell:
http://wiki.apache.org/jdo/ChangeLog15

------------------------------------------------------------------------------
  = ChangeLog15 =
- These are changes proposed for JDO 2.0.1 to better support JDK 1.5.
+ These are changes proposed for JDO 2.1 to better support JDK 1.5.
  
   1. Add to 6.3 a section requiring support for enum types, including subclasses of enum
types.
  
   1. Change in 12.6 signatures of the following {{{PersistenceManager}}} methods to be generic.
Note that these changes are source compatible with existing application programs.
- ||JDO 2.0||JDO 2.0.1||
+ ||JDO 2.0||JDO 2.1||
  ||Object getObjectById (Class cls, Object key)|| <T> T getObjectById (Class<T>
cls, Object key)||
  ||Object newInstance(Class persistenceCapable)|| <T> T newInstance(Class<T>
persistenceCapable)||
  ||Object makePersistent (Object pc)|| <T> T makePersistent (T pc)||
@@ -16, +16 @@

  ||Collection detachCopyAll(Collection pcs) || <T> Collection<T> detachCopyAll(Collection<T>
pcs) ||
  ||Object[ ] detachCopyAll(Object[ ] pcs) || <T> T[ ] detachCopyAll(T[ ] pcs) ||
  
-  1. Add to 15.1 a paragraph describing that mapping an enum to a fixed-precision numeric
type uses the ordinal() value for storage; mapping to a character column type (CHAR, VARCHAR,
etc.) uses the name() value for storage.
+  1. Add to 15.1 a paragraph describing that mapping an enum to a fixed-precision numeric
type uses the ordinal() value for storage; mapping to a character column type (CHAR, VARCHAR,
etc.) uses the name() value for storage; mapping to any other column type is an error.
  
+  1. Provide in a new chapter a set of annotations that map directly to xml elements as an
alternative to using xml metadata. Describe how jdo implementations can use either JDO annotations
or JPA annotations to provide metadata.
+ 

Mime
View raw message