Hibernate Team |
|
Joined: Tue Aug 26, 2003 7:19 pm Posts: 2364 Location: Brisbane, Australia
|
Hibernate will use the currently associated connection as controlled by your current session object. It will not hold two connections open with the one session. If you have no chance of concurrent access then you will be fine (even though I am not sure why having a small pool matters much). My second comment was concerned with the behaviour of the application/connection pool manager when the connections have run out. The manager may block, may throw an acception or use wait with timeout.
|
|