Package ome.security.basic
Class SqlQueryInterceptor
- java.lang.Object
-
- org.hibernate.EmptyInterceptor
-
- ome.security.basic.SqlQueryInterceptor
-
- All Implemented Interfaces:
java.io.Serializable
,org.hibernate.Interceptor
- Direct Known Subclasses:
OmeroInterceptor
public class SqlQueryInterceptor extends org.hibernate.EmptyInterceptor
Pulls SQL query rewriting into a simple superclass ofOmeroInterceptor
for use outside Blitz by other server threads.- Since:
- 5.5.6
- See Also:
SqlQueryTransformer
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqlQueryInterceptor(SqlQueryTransformer sqlQueryTransformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
onPrepareStatement(java.lang.String sql)
-
Methods inherited from class org.hibernate.EmptyInterceptor
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onFlushDirty, onLoad, onSave, postFlush, preFlush
-
-
-
-
Constructor Detail
-
SqlQueryInterceptor
public SqlQueryInterceptor(SqlQueryTransformer sqlQueryTransformer)
-
-