Example usage for org.hibernate.dialect.function SQLFunction render

List of usage examples for org.hibernate.dialect.function SQLFunction render

Introduction

In this page you can find the example usage for org.hibernate.dialect.function SQLFunction render.

Prototype

public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)
        throws QueryException;

Source Link

Document

Render the function call as SQL fragment.

Usage

From source file:org.grails.orm.hibernate.query.HibernateQuery.java

License:Apache License

protected String render(BasicType basic, List<String> columns, SessionFactory sessionFactory,
        SQLFunction sqlFunction) {
    return sqlFunction.render(basic, columns, (SessionFactoryImplementor) sessionFactory);
}