views:

35

answers:

1

I want to use an in-memory database to test my application, but it needs to support XA distributed transactions. My first idea for an in-memory database was HSQLDB, but it appears not to support XA. Are there any?

+2  A: 

Looks like H2 supports this.

Jon Freedman
Yes, H2 supports the XA API. Please note that H2 doesn't support all XA features, but for most applications it should be OK.
Thomas Mueller
Awesome, that's exactly what I'm looking for. Thanks!
scompt.com