org.LexGrid.LexBIG.caCore.connection.orm.interceptors
Class EVSHibernateInterceptor
java.lang.Object
EmptyInterceptor
org.LexGrid.LexBIG.caCore.connection.orm.interceptors.EVSHibernateInterceptor
public class EVSHibernateInterceptor
- extends EmptyInterceptor
Hibernate Interceptor used to modify the SQL query sent to the database.
This interceptor changes the prefix, and also places some extra constraints
on the query to ensure that critical queries always use DB table indexes.
- Author:
- Kevin Peterson
Field Summary |
protected Session |
session
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
protected Session session
EVSHibernateInterceptor
public EVSHibernateInterceptor()
onPrepareStatement
public java.lang.String onPrepareStatement(java.lang.String sql)
getCodingSchemeName
public java.lang.String getCodingSchemeName()
setCodingSchemeName
public void setCodingSchemeName(java.lang.String codingSchemeName)
getPrefix
public java.lang.String getPrefix()
setPrefix
public void setPrefix(java.lang.String prefix)