Class OracleInterceptor

java.lang.Object
org.hibernate.EmptyInterceptor
org.bonitasoft.engine.persistence.OracleInterceptor
All Implemented Interfaces:
Serializable, org.hibernate.Interceptor

public class OracleInterceptor extends org.hibernate.EmptyInterceptor
Make search case insensitive in oracle by using upper() function
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Pattern
     

    Fields inherited from class org.hibernate.EmptyInterceptor

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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
  • Field Details

    • LIKE_PATTERN

      public static final Pattern LIKE_PATTERN
  • Constructor Details

    • OracleInterceptor

      public OracleInterceptor()
  • Method Details

    • onPrepareStatement

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