Is it possible to have PROPAGATION_NESTED in @Transactional() with JPA using postgres? I am getting:
org.springframework.transaction.NestedTransactionNotSupportedException:
JpaDialect does not support savepoints - check your JPA provider's capabilities
I tried:
@Bean
public PlatformTransactionManager transactionManager() {
JpaTransactionManager transactionManager = new JpaTransactionManager();
transactionManager.setEntityManagerFactory(entityManagerFactory()
.getObject());
transactionManager.setNestedTransactionAllowed(true);
return transactionManager;
}
But with no success.
