Looks like you forgot @table annotation...have you checked the correct syntax in ur model?
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
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.