sveri
05/25/2017, 10:25 AMval daoFacadeDatabase = DAOFacadeDatabase()
daoFacadeDatabase.init()
daoFacadeDatabase.createUser("<mailto:foo@bar.de|foo@bar.de>", "foobar", "some-hash", null, null, null)
it fails with an exception that the users table does not exist:
org.h2.jdbc.JdbcSQLException: Tabelle "USERS" nicht gefunden
Table "USERS" not found; SQL statement:
I understand where its coming from, after the transaction is done, it seems like the in memory h2 instance is just deleted again and a new one is created for the inserUser function call.
I guess the better approach would be to pass in a beforehand generated reference to a in memory h2 instance?