Saturday, April 7, 2012

AppEngine + CloudSQL + Hibernate: @Transactional is forbidden

Referring to question Spring Autowiring stopped working on GAE I ask:

why doesn't AppEngine allow me to use @Transactional hibernate-jpa annotation?

AOP (aspectj) configuration does not work, too.

It uses javax.naming.NamingException in some part I don't know, and javax.naming is blacklisted in GAE.

Any of you know a workaround?

I'm currently using "manual" programmatic transactions (via Spring Hibernate PlatformTransactionManager), but it's not very comfortable.

No comments:

Post a Comment