Details
-
Bug
-
Resolution: Timed out
-
Medium
-
2.10.6, 3.0.1, 3.6.1
-
None
-
Severity 2 - Major
-
28
-
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
- was cloned as
-
CRUC-6555 Can't use distinct in queries on tables with CLOB types in Oracle
- Closed