java-tutorials/spring-hibernate5/src/main/resources/persistence-mysql.properties
Walter Gómez 9fa14697bf Fix/hibernate immutable tests (#2682)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update master

* Remove generated annotation to event class due to immutable annotation
Update test to demonstrate silent error on update read-only entities

* Add User entity with GeneratedValue annotation
Add integration test to validate annotation behavior

* Update method names

* Update tests to validate Id

* Change class name
2017-09-28 04:22:40 -07:00

14 lines
380 B
Properties

# jdbc.X
jdbc.driverClassName=com.mysql.cj.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/spring_hibernate5_01?createDatabaseIfNotExist=true
jdbc.eventGeneratedId=tutorialuser
jdbc.pass=tutorialmy5ql
# hibernate.X
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.show_sql=false
hibernate.hbm2ddl.auto=create-drop
# envers.X
envers.audit_table_suffix=_audit_log