gloeglm wrote:
If you are not using second level cache you should be fairly safe. Hibernate does not conflict with standard JDBC usage, and it should aquire the appropriate locks. You can do manual locking using session.lock() and session.load(). I don't have experience with multiple programs accessing the same data, but I know it is possible with hibernate. You have to be careful however.
What is second level cache? I am using the default ehcache. Is it the second level cache? If so, how can I disable it? Because I have to set a cache class to start hibernate.
As I have said, I am migrating the existing application to hibernate and the existing DB schema doesn't use the FK to join table and I want to know if there would be any problem if I specify the associations between the tables in the mapping files.
Cheers