mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-16 19:01:11 +00:00
Use open session in view and populate model attrs
Open session in view was switched off accidentally a while ago. Also the mapping changes recently meant that the changes to @Valid model attributes were not being propagated correctly. Fixes #946 and #947
This commit is contained in:
parent
e870b186fb
commit
d381fb658c
5 changed files with 21 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ spring.thymeleaf.mode=HTML
|
|||
|
||||
# JPA
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.jpa.open-in-view=false
|
||||
spring.jpa.open-in-view=true
|
||||
|
||||
# Internationalization
|
||||
spring.messages.basename=messages/messages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue