We are working on an old database that is not normalized and relational so we have some problems trying to start it work with Hibernate. We can not make any changes to the configuration of the database.
We have some foreign keys in a table that can not be null and they don't have connection to the table that is related to it. Using Hibernate, we'd run into errors because Hibernate wouldn't be able to find a corresponding entry on the foreign table with that default key and would throw an exception.
I think(hope) there is a configuration option for Hibernate that allows it to ignore this situation, so if you know it please help me!
|