Hibernate version:
3
Good day to all,
I'm using EJB 3.0 with Java Persistence; I have my entities annotated and everything works fine; my question is: is it possible to provide the orm.xml so that only the table that is mapped is overriden? I tried doing this, but when I deployed the ear it said that I was missing the id for the entity, so I understand that I should provide all the mapping informations in the orm.xml. However, everything else is fine and I don't want to re-write everything, I just want to change the table that the entity maps to.
Is it possible Any ideas?
Regards
Alejandro
|