I'm using CloudSQL with Hibernate (v 4.1.7) and sometimes opening new 
connection to CloudSQL takes very long time. More precisely the problem is 
in initialization of Bytecode provider. Usually it takes around 5 seconds, 
but sometimes - 40-50 seconds! This problem causes Deadline exception for 
requests. Could someone help me with this problem? Ask me more if needed.

Here is a log:


   1. 2013-02-13 22:15:17.586
   
   com.teamwork.tms.server.api.WarmupServlet init: Initiate Google CloudSQL 
database connection on startup
   
   2. I2013-02-13 22:15:20.761
   
   org.hibernate.annotations.common.Version <clinit>: HCANN000001: Hibernate 
Commons Annotations {4.0.1.Final}
   
   3. I2013-02-13 22:15:20.865
   
   org.hibernate.Version logVersion: HHH000412: Hibernate Core {4.1.7.Final}
   
   4. I2013-02-13 22:15:20.871
   
   org.hibernate.cfg.Environment <clinit>: HHH000206: hibernate.properties not 
found
   
   5. I2013-02-13 22:15:20.876
   
   org.hibernate.cfg.Environment buildBytecodeProvider: HHH000021: Bytecode 
provider name : javassist
   
   6. W2013-02-13 22:16:11.152
   
   org.hibernate.mapping.RootClass checkCompositeIdentifier: HHH000038: 
Composite-id class does not override equals(): 
com.teamwork.tms.server.sql_entities.auxiliary.pk.ApplicationCompanyScopePK
   
   7. W2013-02-13 22:16:11.153
   
   org.hibernate.mapping.RootClass checkCompositeIdentifier: HHH000039: 
Composite-id class does not override hashCode(): 
com.teamwork.tms.server.sql_entities.auxiliary.pk.ApplicationCompanyScopePK
   
   

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to