Skip to content

Doc: Load-time weaving limitations with Tomcat and Hibernate [SPR-7440] #12098

Closed as not planned
@spring-projects-issues

Description

@spring-projects-issues

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:

Issue Links:

2 votes, 6 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: documentationA documentation task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions