| doesn't find method definition!!!!! [message #509203] |
Thu, 21 January 2010 11:37  |
Carlos Conti Messages: 26 Registered: January 2010 |
Junior Member |
|
|
Hi all,
I am setting up a persistence project with EL. In order to enable mappings OneToMany (double side navigation) I have enabled static weaving, and set weaving.lazy=true.
From that moment on, EL doesn't seem to recognize the method definitions (get/set) in the persistent classes, throwing the following exception, which doesn't make sense at all to me....
Could you please give me any hints?
Thanks in advance.
Exception [EclipseLink-60] (Eclipse Persistence Services - 1.1.2.v20090612-r4475): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [_persistence_setdepartamento_vh] or [_persistence_getdepartamento_vh] is not defined in the object [estructuras.Ubicacion].
Internal Exception: java.lang.NoSuchMethodException: estructuras.Ubicacion._persistence_getdepartamento_vh()
Mapping: org.eclipse.persistence.mappings.OneToManyMapping[departamen to]
Descriptor: RelationalDescriptor(estructuras.Ubicacion --> [DatabaseTable(ubicaciones)])
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01610 seconds