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
- is cloned from
-
FE-4739 Can't use distinct in queries on tables with CLOB types in Oracle
- Closed