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:
Dave Syer 2022-04-11 13:24:49 +00:00 committed by GitHub
parent e870b186fb
commit d381fb658c
5 changed files with 21 additions and 3 deletions

View file

@ -8,7 +8,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.3</version>
<version>2.6.6</version>
</parent>
<name>petclinic</name>