The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

namor (2) [Avatar] Offline
#1
Hi,

as the subject of this thread suggests, I'm currently stumbled by the question of how to use an in-memory-db (HSQLDB) in combination of MySQl as the productive environment.

Actual, I have all tables beeing set up in the productive db and now I would like to start writing tests against the test-db .... but how do I integrate the MySQL-tables to HSQLDB? It seems that HSQLDB does not support some features of MySQL like default values, auto_increment,etc.

Is there a simple way to transform a SQL-script that it is accepted by HSQLDB?

kind regards,
Roman