Skip to content

Commit

Permalink
Domain: Default Database HSQLDB
Browse files Browse the repository at this point in the history
  • Loading branch information
poolborges committed Apr 27, 2023
1 parent f6afc88 commit 038cb91
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,24 +287,24 @@ private Properties defaultConfig() {
propConfig.setProperty("override.pin", "");

propConfig.setProperty("db.driverlib", "");
propConfig.setProperty("db.engine", "MySQL");
propConfig.setProperty("db.driver", "com.mysql.jdbc.Driver");
propConfig.setProperty("db.engine", "");
propConfig.setProperty("db.driver", "");

// primary DB
propConfig.setProperty("db.name", "Main DB");
propConfig.setProperty("db.URL", "jdbc:mysql://localhost:3306/");
propConfig.setProperty("db.schema", "unicentaopos");
propConfig.setProperty("db.options", "?zeroDateTimeBehavior=convertToNull");
propConfig.setProperty("db.user", "username");
propConfig.setProperty("db.password", "password");
propConfig.setProperty("db.URL", "jdbc:hsqldb:file:~\\kriolopos\\");
propConfig.setProperty("db.schema", "kriolopos");
propConfig.setProperty("db.options", ";shutdown=true");
propConfig.setProperty("db.user", "kriolopos");
propConfig.setProperty("db.password", "kriolopos");

// secondary DB
propConfig.setProperty("db1.name", "");
propConfig.setProperty("db1.URL", "jdbc:mysql://localhost:3306/");
propConfig.setProperty("db1.schema", "unicentaopos");
propConfig.setProperty("db1.schema", "kriolopos");
propConfig.setProperty("db1.options", "?zeroDateTimeBehavior=convertToNull");
propConfig.setProperty("db1.user", "");
propConfig.setProperty("db1.password", "");
propConfig.setProperty("db1.user", "kriolopos");
propConfig.setProperty("db1.password", "kriolopos");

propConfig.setProperty("machine.hostname", getLocalHostName());

Expand Down

0 comments on commit 038cb91

Please sign in to comment.