| java.lang.Object org.mdarad.framework.expr.CriteriaTranslator org.mdarad.framework.expr.HibernateCriteriaTranslator
HibernateCriteriaTranslator | public class HibernateCriteriaTranslator extends CriteriaTranslator (Code) | | This class is used to translate criteria objects from the MDARAD framework
to criteria objects from the Hibernate persistence framework
(http://www.hibernate.org). To use this translator, instanciated from
the class
CriteriaTranslator author: Philippe Brouillette version: 1.0 |
getCriterionObject | public Object getCriterionObject(Class entity, Collection criteria)(Code) | | Parameters: entity - persistence type Parameters: criteria - collection of the criteria Return the expression statement as an object. |
getExpressionStatement | public String getExpressionStatement(Class entity, Collection criteria)(Code) | | Method that returns the expression statement as a string. Usually, it will
returns a SQL statement as a string.
Parameters: entity - persistence type Parameters: criteria - collection of the criteria The string expression representing the statement (SQL, XML, etc) |
Fields inherited from org.mdarad.framework.expr.CriteriaTranslator | final public static String HIBERNATE_TRANSLATOR(Code)(Java Doc)
|
|
|