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 Mon, 16 Oct 2006 18:03:24 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:

The comment on the change is:
the contents have been moved into ChangeLog

+ deleted
- = ChangeLog15 =
- 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
-  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>
-   ||Object makePersistent (Object pc)|| <T> T makePersistent (T pc)||
-   ||Object[ ] makePersistentAll (Object[ ] pcs)|| <T> T[ ] makePersistentAll (T[ ]
-   ||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.

View raw message