|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (12)
View Page History...
\\
The default dragon.properties file is (NB : here, we have disable the MySQL configuration and enable the H2 configuration, Indexation is set in memory mode) :
The default dragon.properties file is (NB : here, we have disable the MySQL configuration and enable the H2 configuration, Indexation is set in memory mode) :
{panel} {code}
{color:#339966}\############{color} ############
{color:#339966}\### Datasource properties{color}
### Datasource properties
{color:#339966}\############{color} ############
{color:#339966}\## MySQL Datasource{color}
{color:#339966}\# jdbc.driverClassName = com.mysql.jdbc.Driver{color}
{color:#339966}\# jdbc.url = jdbc:mysql://localhost:3306/dragon{color}
{color:#339966}\# jdbc.username = anonymous{color}
{color:#339966}\# jdbc.password ={color}
{color:#339966}\# jdbc.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect{color}
{color:#339966}\# jdbc.hibernate.hbm2ddl.auto = update{color}
{color:#339966}\# jdbc.hibernate.show_sql = false{color}
{color:#339966}\# jdbc.driverClassName = com.mysql.jdbc.Driver{color}
{color:#339966}\# jdbc.url = jdbc:mysql://localhost:3306/dragon{color}
{color:#339966}\# jdbc.username = anonymous{color}
{color:#339966}\# jdbc.password ={color}
{color:#339966}\# jdbc.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect{color}
{color:#339966}\# jdbc.hibernate.hbm2ddl.auto = update{color}
{color:#339966}\# jdbc.hibernate.show_sql = false{color}
## MySQL Datasource
# jdbc.driverClassName = com.mysql.jdbc.Driver
# jdbc.url = jdbc:mysql://localhost:3306/dragon
# jdbc.username = anonymous
# jdbc.password =
# jdbc.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
# jdbc.hibernate.hbm2ddl.auto = update
# jdbc.hibernate.show_sql = false
# jdbc.driverClassName = com.mysql.jdbc.Driver
# jdbc.url = jdbc:mysql://localhost:3306/dragon
# jdbc.username = anonymous
# jdbc.password =
# jdbc.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
# jdbc.hibernate.hbm2ddl.auto = update
# jdbc.hibernate.show_sql = false
{color:#339966}\## In Memory H2 Datasource{color}
## In Memory H2 Datasource
jdbc.driverClassName = {color:#0000ff}org.h2.Driver{color} org.h2.Driver
jdbc.url = {color:#0000ff}jdbc:h2:mem:dragon{color}
jdbc.username = {color:#0000ff}sa{color}
jdbc.username = {color:#0000ff}sa{color}
...
{color:#339966}\## A Filesystem repository configuration. All binary files are stored in the filesystem{color}
{color:#339966}\#repo.type = filesystem{color}
{color:#339966}\#repo.type = filesystem{color}
{color:#339966}\#repo.root = ./test-repository{color}{panel}
{code}
The H2 Datasource (in memory mode) is the one used by default. You also have a MySQL configuration which is disabled by default.
...