i have no clue if the following can/should be solved in hibernate. i just wanted to give this feedback.
Hibernate version:
hibernate 3 beta 4
Situation:
I was using the hilo id generator in combination with c3p0 connection pooling and got into a deadlock
Explanation:
I had set the min and max connections to 1. My own transaction used the first (and only) connection of the pool. Then the hilo id generator tried to get a second connection from the pool. Since there were no more connections, there was a deadlock. Since i'm quite lazy and rarely read manuals, i would appreciate a special exception message just for me in case i forget it next time :-)
regards, tom.
|