resolved. On Saturday, October 8, 2022 at 1:32:12 PM UTC-6 Daniel Hopins wrote:
> I can't figure out what I'm doing wrong here, but the execute method > fails, when providing > the same value as provided in dataSource.setPassword(), with stack trace: > > org.h2.jdbc.JdbcSQLNonTransientException: General error: > "org.h2.mvstore.MVStoreException: Store header is corrupt: > C:/tmp/testDB.mv.db [2.1.214/6]" [50000-214] > at org.h2.message.DbException.getJdbcSQLException(DbException.java:554) > at org.h2.message.DbException.getJdbcSQLException(DbException.java:477) > at org.h2.message.DbException.get(DbException.java:212) > at org.h2.message.DbException.convert(DbException.java:395) > at org.h2.message.DbException.toSQLException(DbException.java:367) > at > org.h2.tools.ChangeFileEncryption.execute(ChangeFileEncryption.java:131) > at org.dshops.ib.ds.h2.Main2.main(Main2.java:34) > Caused by: org.h2.mvstore.MVStoreException: Store header is corrupt: > C:/tmp/testDB.mv.db [2.1.214/6] > at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004) > at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:869) > at org.h2.mvstore.MVStore.<init>(MVStore.java:463) > at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4082) > at > org.h2.tools.ChangeFileEncryption.copyMvStore(ChangeFileEncryption.java:202) > at > org.h2.tools.ChangeFileEncryption.process(ChangeFileEncryption.java:183) > at > org.h2.tools.ChangeFileEncryption.process(ChangeFileEncryption.java:175) > at > org.h2.tools.ChangeFileEncryption.execute(ChangeFileEncryption.java:128) > ... 1 more > > > example code attached. > > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/7b89c61d-8e02-4fd5-90b7-d8250e7adbb5n%40googlegroups.com.
