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 "ChangeLog" by CraigRussell
Date Mon, 16 Oct 2006 18:02:29 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/ChangeLog

------------------------------------------------------------------------------
  = This is the list of changes for maintenance of JSR-243. =
- = PROPOSED =
+ == PROPOSED ==
  
- A number of items need to be added to support JDK 1.5 features. These are separated into
another wiki page ChangeLog15 for easier management. 
   1. In 5.4.1, Compound Identity should be updated to reflect that for key fields of reference
types, the type of the key field is the reference type in the class but the oid of the reference
type in the oid class.
  
   1. In Table 2: State Transitions, the transition for a transient-dirty instance during
commit with {{{DetachAllOnCommit = true}}} should be to transient-clean. Also, state changes
need to be added for detach methods and serialization.
@@ -104, +103 @@

  public static final javax.jdo.spi.JDOPermission MANAGE_METADATA = "manageMetadata";
  public static final javax.jdo.spi.JDOPermission SET_STATE_MANAGER = "setStateManager";}}}
  
+ === JDK 1.5 changes ===
+ These are changes proposed for JDO 2 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.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)||
+   ||Object[ ] makePersistentAll (Object[ ] pcs)|| <T> T[ ] makePersistentAll (T[ ]
pcs)||
+   ||Collection makePersistentAll (Collection pcs)|| <T> Collection<T> makePersistentAll
(Collection<T> pcs)||
+   ||Object detachCopy(Object pc) || <T> T detachCopy(T pc) ||
+   ||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; 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.
+ 
- = ACCEPTED =
+ == ACCEPTED ==
  
  - none yet -
  
- = DEFERRED =
+ == DEFERRED ==
  
  - none yet -
  

Mime
View raw message