Object
org.hibernate.EmptyInterceptor
com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor
All Implemented Interfaces:
Serializable, org.hibernate.Interceptor

public class CTSQLInterceptor extends org.hibernate.EmptyInterceptor
Author:
Preston Crary
See Also:
  • Field Summary

    Fields inherited from class org.hibernate.EmptyInterceptor

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setEnabled(boolean enabled)
     

    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 Details

    • CTSQLInterceptor

      public CTSQLInterceptor()
  • Method Details

    • onPrepareStatement

      public String onPrepareStatement(String sql)
      Specified by:
      onPrepareStatement in interface org.hibernate.Interceptor
      Overrides:
      onPrepareStatement in class org.hibernate.EmptyInterceptor
    • setEnabled

      public void setEnabled(boolean enabled)