Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-949

HHH-3519 - VM-based,timestamps are not generated for DB2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.GA_CP05, 4.3.0.GA_CP03
    • 4.2.0.GA_CP04, 4.3.0.GA_CP02
    • Hibernate
    • None
    • JUnit tests with DB2

    • Release Notes

      The test org.hibernate.test.hql.BulkManipulationTest#testInsertWithGeneratedTimestampVersion needs to be skipped for DB2. It is currently failing on line 78:

      int count = s.createQuery( "insert into TimestampVersioned ( name ) select name from TimestampVersioned" ).executeUpdate();

      because DB2 doesn't supports insert with select.

      A solution is to check the org.hibernate.dialect.Dialect#supportsParametersInInsertSelect method before executing this piece of code.

              gbadner@redhat.com Gail Badner (Inactive)
              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: