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

      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.

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

                Created:
                Updated:
                Resolved: