Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
3d6d0185
Commit
3d6d0185
authored
Feb 18, 2014
by
Matija Obreza
Browse files
Hibernate dialect
parent
392db9af
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/resources/spring/spring-db.xml
View file @
3d6d0185
...
...
@@ -50,6 +50,7 @@
</property>
<property
name=
"jpaProperties"
>
<props>
<prop
key=
"hibernate.dialect"
>
${db.dialect}
</prop>
<prop
key=
"hibernate.connection.autocommit"
>
false
</prop>
<prop
key=
"hibernate.hbm2ddl.auto"
>
${db.hbm2ddl}
</prop>
<prop
key=
"hibernate.search.default.indexBase"
>
${lucene.indexDir}
</prop>
...
...
src/main/resources/spring/spring.properties
View file @
3d6d0185
...
...
@@ -17,9 +17,10 @@
base.url
=
http://localhost:8080
db.url
=
jdbc:mysql://localhost/genesys4?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
db.driverClassName
=
com.mysql.jdbc.Driver
db.username
=
root
db.password
=
db.driverClassName
=
com.mysql.jdbc.Driver
db.dialect
=
org.hibernate.dialect.MySQL5Dialect
db.username
=
root
db.password
=
db.showSql
=
false
db.hbm2ddl
=
do-nothing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment