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

Investigate Sybase failures in Hibernate test suite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.0_CR3
    • EAP_EWP 5.1.0_CR1
    • Hibernate
    • None

    Description

      We have some failures in Sybase when using JDBC 4 driver that needs to be investigated. It seems like the JDBC driver doesn't returns the correct value for getIdentifierQuoteString() but this needs to be proved. One example of the issue occurs in the test org.hibernate.test.naturalid.immutable.ImmutableNaturalIdTest, with this output:

      16:09:41,957 DEBUG SchemaExport:363 - Cannot drop the table 'IMM_NAT_ID_USER', because it doesn't exist in the system catalogs.

      16:09:41,957 DEBUG SchemaExport:377 -
      create table IMM_NAT_ID_USER (
      myUserId int not null,
      version int not null,
      userName varchar(10) not null,
      "password" varchar(15) not null,
      email varchar(255) null,
      primary key (myUserId),
      unique (userName)
      )
      16:09:42,082 ERROR SchemaExport:348 - Unsuccessful: create table IMM_NAT_ID_USER (myUserId int not null, version int not null, userName varchar(10) not null, "password" varchar(15) not null, email varchar(255) null, primary key (myUserId), unique (userName))
      16:09:42,082 ERROR SchemaExport:349 - Incorrect syntax near ','.

      If it proves to be a problem with JDBC4 version of Sybase's driver, we may reconsider supporting JDBC4 for Sybase and fall back to JDBC3.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: