Class NativeSQLFunction

java.lang.Object
org.hibernate.dialect.function.SQLFunctionTemplate
net.sf.basedb.core.hibernate.NativeSQLFunction
All Implemented Interfaces:
SQLFunction

public class NativeSQLFunction extends SQLFunctionTemplate
Helper class for mixing native SQL with HQL queries. The typical use case (the only so far) is to execute a subquery in a place were HQL doesn't support subqueries (in WITH clause). The function definition takes one parameter which is the native SQL to execute. Use '[' and ']' to indicate open and close quotes in the native SQL dialect.
Since:
3.10
Author:
nicklas