Forums Register Login

openjpa, annotations and entity names

+Pie Number of slices to send: Send
i have my entity as this:



and my persistance.xml


now the bean is in a seperate package from the main webpage and persistence.xml
if i build a jar of the bean package and include it i WebContent/WEB-INF/lib everything works fine

but if i use the build path and the "Java EE Module Dependencies" to include the bean package i get this error message:


why is it reverting to reflection and ignoring my annotations?
+Pie Number of slices to send: Send
i found the trouble was the project my beans were in was "byte enhanced" why should that cause a problem?
Everybody! Do the Funky Monkey! Like this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2176 times.
Similar Threads
Ant, windows xp, and a funky infinite loop
XML DOM & children nodes
Compile time Annotation Processing - Maven build problem
Spring Testing woes
Problems deploying an entity bean
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 30, 2024 00:01:07.