Hi!
I am working on a litte EJB 3.0 Example with some litte EntityBeans and 1:n mappings. When i use lazy or eager fetching in the OneToMany mappings and eager fetching in the ManyToOne Annotation, everything works fine. Setting the ManyToOne mapping to FetchType.LAZY, the beans won't deploy any more. The message of the verifer is:
---
Exception [TOPLINK-60] (Oracle TopLink Essentials - 2.0 (Build b41d-beta2 (04/24/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: The method [_toplink_setuser_vh] or [_toplink_getuser_vh] is not defined in the object [test.model.bean.Userproperties].
Internal Exception: java.lang.NoSuchMethodException: test.model.bean.Userproperties._toplink_getuser_vh()
Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[user]
Descriptor: RelationalDescriptor(test.model.bean.Userproperties --> [DatabaseTable(example.userproperties)])
---
Does not the glassfish server support ManyToOne mappings using lazy fetching?
[Message sent by forum member 'lembeck' (lembeck)]
http://forums.java.net/jive/thread.jspa?messageID=225459