Hi, finally I could run my example using Java 6 with no problems, but, at runtime I get this message:
test_jpa INFO [main] openjpa.Enhance - Creating subclass for "[class test.Person, class test.Sex]". This means that your application will be less efficient and will consume more memory than it would if you ran the OpenJPA enhancer. Additionally, lazy loading will not be available for one-to-one and many-to-one persistent attributes in types using field access; they will be loaded eagerly instead. I test the example using both jpa classes (EntityManagerFactory, EntityManager, ...) and OpenJPA classes (OpenJPAEntityManagerFactory, OpenJPAEntityManager, ...) and always get the same message. What this really means? -- Regards, Takeichi Kanzaki Cabrera Linux Registered User #308138 If you want to be original, be your self.
