If I label a class @PersistenceCapable do I still need to explicitly enhance? Do I need a package.jdo file?
This question relates to experiences with ODB 1, in which one has to:
a) create a package.jdo, and
b) run the Enhancer
In my experience, using this with Tomcat, and running the enhancer in the contextListener class, there would often be errors relating to 'class not persistent capable'. So, in ODB 2 is there a way to mark a class as @PersistentCapable, and then let ODB take care of enhancement automatically?
Alternatively, is there a best practice for enhancement in a web environment.
(and in a dev environment using JRebel)?