Description
Juergen Zimmermann opened SPR-7440 and commented
When I use Hibernate to persist an object of a class which inherits from an abstract (entity) class: nothing happens if version=3.0" inside web.xml
If I change version="2.5" then everything works fine. I'll attach a testcase. The war file is missing all Spring JARs and hibernate3.jar which can be downloaded at http://sourceforge.net/projects/hibernate/files/hibernate3/3.6.0.Beta2
When you enable logging for Hibernate and set org.hibernate.SQL to level DEBUG, then you'll see that there is a SQL INSERT statement when web.xml has version="2.5", but there is no INSERT statement when changing to version="3.0".
The issue described at https://jira.springframework.org/browse/SPR-7350 is gone. This is a new one.
Attachments:
- testcase.src.zip (12.15 kB)
- testcase.war (6.13 MB)
Issue Links:
- Test Spring 3.1 compatibility with Hibernate 3.6.x [SPR-8111] #12765 Test Spring 3.1 compatibility with Hibernate 3.6.x
- Proper load-time weaving support for Hibernate 5 [SPR-13886] #18459 Proper load-time weaving support for Hibernate 5
2 votes, 6 watchers