Thursday, December 29, 2011

Re: Invalid connection id

Hi,

I was getting the same error a while ago. I am using GAE, cloud SQL with hibernate and what I found was that the
hibernate was returning the invalid session id from its connection pool instead of creating a new one.
So I specified the connection pool size to zero by adding following property to hibernate.cfg.xml file and it worked :

<property name="connection.pool_size">0</property>


---Abhishek

No comments:

Post a Comment