cancel
Showing results for 
Search instead for 
Did you mean: 

Neo4jTransactionManager is not allowed to support custom isolation levels

This happens when there is a custom isolation level present for a jpa method ( isolation = Isolation.SERIALIZABLE).

    @Override
    @Transactional(readOnly=false, isolation = Isolation.SERIALIZABLE)
    public Lis saveAll(List<Price> prices) {
..
    }`

Returning ChaniedTransactionManager for Bean, which could be causing this issue? if so, can I separate Transaction Managers?

Transaction Manager


@Bean(name = "transactionManager")
	public PlatformTransactionManager transactionManager(){
		return new ChainedTransactionManager(new JpaTransactionManager(entityManagerFactory().getObject()),
				new Neo4jTransactionManager(sessionFactory));
	}
0 REPLIES 0