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 "Java5FeaturesAndJdo" by sun2bin
Date Fri, 23 Dec 2005 03:12: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 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;
+ ...
+ }
+ }}}
+ 

Mime
View raw message