Petar Tahchiev opened SPR-12614 and commented

Following this problem here: http://stackoverflow.com/questions/24687769/how-can-i-resolve-this-sqltransactionrollbackexception-with-hsqldb-in-spring-bat

I had a look at the EmbeddedDatabaseBuilder and it looks like it is always created with new EmbeddedDatabaseFactory(); (burried inside the constructor), so we can't change the EmbeddedDatabaseFactory being used. The factory, however does provide a setter method to set EmbeddedDatabaseConfigurer which would technically allow us to set additional connection properties (like hsqldb.tx=mvcc). I think the proper solution would be to add a setter method to EmbeddedDatabaseBuilder to allow setting custom DatabaseFactory.


No further details from SPR-12614

Comment From: spring-projects-issues

Bulk closing outdated, unresolved issues. Please, reopen if still relevant.

Comment From: sbrannen

  • superseded by #21160