Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4739

Can't use distinct in queries on tables with CLOB types in Oracle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Medium
    • N/A
    • 2.10.6, 3.0.1, 3.6.1
    • None

    Description

      In Oracle, you can't use "distinct" in queries on tables with CLOB types. Hibernate isn't aware of this, a known bug: https://hibernate.atlassian.net/browse/HHH-3606

      This impacts the new permissions checking.

      Exception:

      013-06-25 14:51:57,701 WARN [qtp572487432-222 ] org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - SQL Error: 932, SQLState: 42000
      2013-06-25 14:51:57,702 ERROR [qtp572487432-222 ] org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - ORA-00932: inconsistent datatypes: expected - got CLOB
      
      2013-06-25 14:51:57,703 ERROR [qtp572487432-222 ] com.atlassian.plugins.rest.common.error.jersey.ThrowableExceptionMapper ThrowableExceptionMapper-toResponse - Uncaught exception thrown by REST service
      org.hibernate.exception.SQLGrammarException: could not execute query
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ganand Gurleen Anand [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: