This content has been marked as final.
Show 4 replies
-
1. Re: IllegalArgumentException: Not an entity when starting a weld application
ssachtleben.ssachtleben.gmail.com Feb 7, 2011 2:45 AM (in response to emeric)Well I could be wrong but the error message looks like some kind of problem with your hibernate metamodel.
You should check this post: http://in.relation.to/12805.lace
-
2. Re: IllegalArgumentException: Not an entity when starting a weld application
florianhell Feb 7, 2011 11:05 AM (in response to emeric)Looks like you forgot @table annotation...have you checked the correct syntax in ur model?
-
3. Re: IllegalArgumentException: Not an entity when starting a weld application
emeric Feb 7, 2011 12:38 PM (in response to emeric)Hi,
thank you very much for your replies.
i have checked that Metamodel files rae generated and that the @table is present.
i have to find the solution elsewhere. May be you have other ideas?
Thank you in advance and best regards
Emeric -
4. Re: IllegalArgumentException: Not an entity when starting a weld application
swd847 Feb 7, 2011 11:57 PM (in response to emeric)Are you passing a proxy to hibernate?
This can happen if you have an entity class that is also a normal scoped CDI bean, as what is injected is a proxy for the entity rather than the entity itself.