Hi everyone,
I have a simple but delicate problem.
I have an existing database schema created in MS SQL 2000, inherited
from a legacy application (that I'm migrating to Java).
In my JPA entities I used to add some @ManyToOne properties
in order to load some join data (for easy use in JSF data tables).
But Hibernate (certainly not jTDS) always auto generates foreign key
constraints for each such associations when it does not exist physically!!
[size=16]How can I prevent Hibernate from modifying my database schema??[/size]
Thanks,
|