Hi,
Following migration to spring batch 1.1.2 which needed migration to spring 2.5.5, i am getting the following error on trying to run a sample job:
job starts with parameters : PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE
org.springframework.transaction.InvalidIsolationLe velException: Standard JPA does not support custom isolation levels - use a special JpaDialect for your JPA implementation
org.hibernate.dialect.Oracle9Dialect is being used. Through spring version 2.0.x and 2.5.2.Code:org.springframework.transaction.InvalidIsolationLevelException: Standard JPA does not support custom isolation levels - use a special JpaDialect for your JPA implementation at org.springframework.orm.jpa.DefaultJpaDialect.beginTransaction(DefaultJpaDialect.java:66) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:330)
Hibernate version: 3.2.4.sp1
Is the problem owing to the job starting up with ISOLATION_SERIALIZABLE transaction attribute.
I am totally lost on what could have caused this. Thanks in advance for any help/ pointers.


Reply With Quote