You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2005/12/23 04:12:29 UTC

[Jdo Wiki] Update of "Java5FeaturesAndJdo" by sun2bin

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 sun2bin:
http://wiki.apache.org/jdo/Java5FeaturesAndJdo

------------------------------------------------------------------------------
   * enum types as persistence-capable classes ...
   * the new collection types `EnumSets` and `EnumMaps` ...
  
+ = JDO Specific Annotations =
+ For managed relations, we may add javax.jdo.annotation.Inverse for use in a PC class:
+ {{{
+ public class Department {
+ ...
+ @javax.jdo.annotation.Inverse("department")
+ Set<Employee> employees;
+ ...
+ }
+ 
+ public class Employee {
+ ...
+ Department department;
+ ...
+ }
+ }}}
+