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
------------------------------------------------------------------------------
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||
+ ||JDO 2.0||JDO 2.1||
- ||Object getObjectById (Class cls, Object key)|| <T> T getObjectById (Class<T>
cls, Object key)||
+ ||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 newInstance(Class persistenceCapable)|| <T> T newInstance(Class<T>
persistenceCapable)||
- ||Object makePersistent (Object pc)|| <T> T makePersistent (T pc)||
+ ||Object makePersistent (Object pc)|| <T> T makePersistent (T pc)||
- ||Object[ ] makePersistentAll (Object[ ] pcs)|| <T> T[ ] makePersistentAll (T[ ] pcs)||
+ ||Object[ ] makePersistentAll (Object[ ] pcs)|| <T> T[ ] makePersistentAll (T[ ]
pcs)||
- ||Collection makePersistentAll (Collection pcs)|| <T> Collection<T> makePersistentAll
(Collection<T> pcs)||
+ ||Collection makePersistentAll (Collection pcs)|| <T> Collection<T> makePersistentAll
(Collection<T> pcs)||
- ||Object detachCopy(Object pc) || <T> T detachCopy(T pc) ||
+ ||Object detachCopy(Object pc) || <T> T detachCopy(T pc) ||
- ||Collection detachCopyAll(Collection pcs) || <T> Collection<T> detachCopyAll(Collection<T>
pcs) ||
+ ||Collection detachCopyAll(Collection pcs) || <T> Collection<T> detachCopyAll(Collection<T>
pcs) ||
- ||Object[ ] detachCopyAll(Object[ ] pcs) || <T> T[ ] detachCopyAll(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.
|