Hi Prashant, On Aug 13, 2007, at 9:19 PM, Prashant Bhat wrote:
Should I really switch to field level annotations? And I would also like to know which approach is better(recommended), field level or property levelMy recommendation is to use field persistence for persistent classes, and only use property persistence for persistent interfaces and persistent abstract classes (if your provider supports them).annotations?
Using field persistence allows you to define your user contract the way you want to, and not subject the user contract to arbitrary rules of property persistence.
Regards, Craig Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
