Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-7440

Doc: Load-time weaving limitations with Tomcat and Hibernate

    Details

    • Type: Task
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.x Backlog
    • Component/s: None
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      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

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                juergen.zimmermann Juergen Zimmermann
                Last updater:
                Juergen Hoeller
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  2 years, 6 weeks, 5 days ago