title: H2 (embedded) Database in Java - StackOverflowError
body: <p>I use embedded H2 Database in Java SE project (jdbc:h2:file:...) with JPA 2.0 (EclipseLink 2.1.1). I set also set MODE=Derby in jdbc url connection. Everything worked perfect till I added some new entities and tried to persist them. I'm getting StackOverflowError :( I guess it's connected with h2 database file optimization/compacting/??? process, because file size is growing huge (should be ~1MB but it's 60MB and 40MB temp file). The question is - what is going on and how can I turn it off? db file is corrupted due to StackOverflowError :]</p>
  
  <p>Thanks for any help!</p>