margaretha | ecbe72d | 2017-07-26 17:13:32 +0200 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # MySQL Settings |
| 3 | # todo: test user and password in classpath file |
| 4 | |
margaretha | 6240a6e | 2017-09-21 13:16:17 +0200 | [diff] [blame] | 5 | #jdbc.database=mysql |
| 6 | #jdbc.driverClassName=com.mysql.jdbc.Driver |
| 7 | #jdbc.url=jdbc:mysql://localhost:3306/kustvakt?autoReconnect=true |
| 8 | #jdbc.username=korap |
| 9 | #jdbc.password=password |
margaretha | c2ac8f5 | 2017-10-24 12:38:56 +0200 | [diff] [blame^] | 10 | |
| 11 | # db.insert contains test data, omit it in production setting |
| 12 | #jdbc.schemaPath=db.new-mysql, db.insert |
margaretha | ecbe72d | 2017-07-26 17:13:32 +0200 | [diff] [blame] | 13 | |
| 14 | |
| 15 | #------------------------------------------------------------------------------- |
| 16 | # Sqlite Settings |
| 17 | |
margaretha | 6240a6e | 2017-09-21 13:16:17 +0200 | [diff] [blame] | 18 | jdbc.database=sqlite |
| 19 | jdbc.driverClassName=org.sqlite.JDBC |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 20 | jdbc.url=jdbc:sqlite:db.sqlite |
margaretha | 6240a6e | 2017-09-21 13:16:17 +0200 | [diff] [blame] | 21 | # jdbc.url=jdbc:sqlite:kustvakt_init_test.sqlite |
| 22 | jdbc.username=pc |
| 23 | jdbc.password=pc |
margaretha | c2ac8f5 | 2017-10-24 12:38:56 +0200 | [diff] [blame^] | 24 | # db.insert contains test data, omit it in production setting |
| 25 | jdbc.schemaPath=db.new-sqlite, db.insert |