forked from shopizer-ecommerce/shopizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
## | ||
## configuration base de données | ||
## configuration base de données | ||
## | ||
|
||
|
||
#MYSQL | ||
db.jdbcUrl=jdbc:mysql://localhost:3306/SALESMANAGER?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 | ||
db.user=root | ||
db.password=root | ||
hibernate.hbm2ddl.auto=update | ||
db.driverClass=com.mysql.jdbc.Driver | ||
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect | ||
#db.jdbcUrl=jdbc:mysql://localhost:3306/SALESMANAGER?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 | ||
#db.user=root | ||
#db.password=root | ||
#hibernate.hbm2ddl.auto=update | ||
#db.driverClass=com.mysql.jdbc.Driver | ||
#hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect | ||
#db.preferredTestQuery=SELECT 1 | ||
#db.schema=SALESMANAGER | ||
|
||
#H2 | ||
db.jdbcUrl=jdbc\:h2\:file\:SALESMANAGER;AUTOCOMMIT=OFF;INIT\=CREATE SCHEMA IF NOT EXISTS SALESMANAGER | ||
db.user=test | ||
db.password=password | ||
db.driverClass=org.h2.Driver | ||
hibernate.dialect=org.hibernate.dialect.H2Dialect | ||
db.preferredTestQuery=SELECT 1 | ||
db.schema=SALESMANAGER | ||
|
||
#H2 | ||
#db.jdbcUrl=jdbc\:h2\:file\:SALESMANAGER;AUTOCOMMIT=OFF;INIT\=CREATE SCHEMA IF NOT EXISTS SALESMANAGER | ||
#db.user=test | ||
#db.password=password | ||
#db.driverClass=org.h2.Driver | ||
#hibernate.dialect=org.hibernate.dialect.H2Dialect | ||
#db.preferredTestQuery=SELECT 1 | ||
#db.schema=SALESMANAGER | ||
#hibernate.hbm2ddl.auto=update | ||
hibernate.hbm2ddl.auto=update | ||
|
||
## | ||
## configuration pooling base de données | ||
## configuration pooling base de données | ||
## | ||
db.initialPoolSize=10 | ||
db.minPoolSize=5 | ||
db.maxPoolSize=50 | ||
db.maxPoolSize=50 |