org.hibernate.dialect.function
Class StandardJDBCEscapeFunction
java.lang.Object
org.hibernate.dialect.function.StandardSQLFunction
org.hibernate.dialect.function.StandardJDBCEscapeFunction
- All Implemented Interfaces:
- SQLFunction
public class StandardJDBCEscapeFunction
- extends StandardSQLFunction
Analogous to StandardSQLFunction
except that standard JDBC escape sequences (i.e. {fn blah}) are used when
rendering the SQL.
- Author:
- Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StandardJDBCEscapeFunction
public StandardJDBCEscapeFunction(java.lang.String name)
StandardJDBCEscapeFunction
public StandardJDBCEscapeFunction(java.lang.String name,
Type typeValue)
render
public java.lang.String render(java.util.List args,
SessionFactoryImplementor factory)
- Description copied from class:
StandardSQLFunction
- Render the function call as SQL fragment.
- Specified by:
render
in interface SQLFunction
- Overrides:
render
in class StandardSQLFunction
- Parameters:
args
- The function argumentsfactory
- The SessionFactory
- Returns:
- The rendered function call
toString
public java.lang.String toString()
- Overrides:
toString
in class StandardSQLFunction
Copyright © 2008 Hibernate.org. All Rights Reserved.