当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
Junction (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.expression
Class Junction
java.lang.Object
net.sf.hibernate.expression.AbstractCriterion
net.sf.hibernate.expression.Junction
- All Implemented Interfaces:
- Criterion
- Direct Known Subclasses:
- Conjunction, Disjunction
- public abstract class Junction
- extends AbstractCriterion
A sequence of a logical expressions combined by some
associative logical operator
- Author:
- Gavin King
Junction
public Junction()
add
public Junction add(Criterion criterion)
getTypedValues
public TypedValue[] getTypedValues(SessionFactoryImplementor sessionFactory,
Class persistentClass,
Map aliasClasses)
throws HibernateException
- Description copied from interface:
Criterion
- Return typed values for all parameters in the rendered SQL fragment
- Parameters:
sessionFactory
- persistentClass
-
- Returns:
- TypedValue[]
- Throws:
HibernateException
toSqlString
public String toSqlString(SessionFactoryImplementor sessionFactory,
Class persistentClass,
String alias,
Map aliasClasses)
throws HibernateException
- Description copied from interface:
Criterion
- Render the SQL fragment
- Parameters:
sessionFactory
- persistentClass
- alias
-
- Returns:
- String
- Throws:
HibernateException
toString
public String toString()
- Description copied from class:
AbstractCriterion
- For cosmetic purposes only!
- Specified by:
toString
in class AbstractCriterion
- See Also:
Object.toString()