HI All, I am new to using hibernate and have a question.
After any CRUD operation, I guess I was expecting hibenate to close the session, which would result in the tables also being closed out...But when I view the connection/job on the as400, the tables remain open in a *SHRRD lock (which basically just prevents the table from being move,deleted,etc..). Is this normal?..Am I doing something wrong?
Just to provide some additional info: 1. We are not specifically calling session.close(), as I obtain the session from factory using getCurrentSession() prior to each transaction (which I believe handles this automatically?). 2. Journalling is not enabled on the database, so the isolation level is set to 0 (none).
Thanks for any help. Kevin..
|