I have already developed hibernate based application, But main defense between that and your code is, you have used org.springframework.
orm.hibernate4.LocalSessionFactoryBean .
Hosted application code: http://code.google.com/p/cloudsql/source/browse/trunk/CloudSQLSample2/
In CloudSQLSample2 I have used org.springframework.orm.hibernate3.LocalSessionFactoryBean instead of org.springframework.
orm.hibernate4.LocalSessionFactoryBean
JPA problem:
There is some issue with Hibernate JPA support, because it used JPA 2.0 specification. But Google App Engine only support JPA1.0 specification.
http://stackoverflow.com/questions/7833538/jpahibernate-google-cloud-sql/
Regards,
Chandana
http://cnapagoda.blogspot.com
No comments:
Post a Comment