Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8684

(HHH-11456) SequenceHiLoGeneratorTest fails due to wrong select string on mssql

    XMLWordPrintable

Details

    Description

      Mssql database has sys.sequences table. However test run this statement that causes failures when db is case-sensitive.

      SELECT CONVERT(varchar(200), Current_value) FROM SYS.Sequences WHERE name
      

      Moreover if this fails, the test leaks an open session. this causes problems if the database is configured so that a user can login only once at a time, because subsequent tests are unable to login.

      Attachments

        Issue Links

          Activity

            People

              gbadner@redhat.com Gail Badner (Inactive)
              istraka@redhat.com Ivan Straka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: