Class 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 of OmeroInterceptor for use outside Blitz by other server threads.
    Since:
    5.5.6
    See Also:
    SqlQueryTransformer, Serialized Form
    • Field Summary

      • Fields inherited from class org.hibernate.EmptyInterceptor

        INSTANCE
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onPrepareStatement

        public java.lang.String onPrepareStatement​(java.lang.String sql)
        Specified by:
        onPrepareStatement in interface org.hibernate.Interceptor
        Overrides:
        onPrepareStatement in class org.hibernate.EmptyInterceptor