* 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
14 lines
380 B
Properties
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
|