When using Spring's JdbcTemplate inside a transactional-service with the JpaTransactionmanager and the HibernateJpaDialect an exception is thrown.
Using Hibernate-4.2.0.Final, JPA, Spring-3.2.2 and I get:
This happens both with c3p0 and tomcat-pool that comes with tomcat7.
I've tested in two projects with the same results. This doesn't happen with Hibernate-4.1.x
I know i should provide a test-case but I only have a scala-project at hand and you probably want that out of the equation...