net.databinder.models.hib
Interface QueryBuilder

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
QueryBinderBuilder

public interface QueryBuilder
extends java.io.Serializable

Interface for callback that builds a Hibernate Query and binds it to parameters if necessary. Use for SQL queries, named queries, etc.

Author:
Nathan Hamblen

Method Summary
 org.hibernate.Query build(org.hibernate.Session hibernateSession)
          Create query from session and bind it to parameters.
 

Method Detail

build

org.hibernate.Query build(org.hibernate.Session hibernateSession)
Create query from session and bind it to parameters.

Parameters:
hibernateSession - session for the current request cycle
Returns:
ready-to-use query


Copyright © 2005-2008 Nathan Hamblen. All Rights Reserved.