X - the type referenced by the pathpublic class BasicPath<X> extends AbstractPath<X>
Path.| Constructor and Description |
|---|
BasicPath(ParentPath<?,?> parent,
BasicMapping<?,X> mapping) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateJpqlRestriction(BaseQueryImpl<?> query)
Returns the JPQL where fragment.
|
String |
generateJpqlSelect(AbstractCriteriaQueryImpl<?> query,
boolean seleselectedcted)
Returns the JPQL select fragment.
|
String |
generateSqlSelect(AbstractCriteriaQueryImpl<?> query,
boolean selected)
Returns the SQL select fragment.
|
BasicAttribute<?,X> |
getModel() |
String[] |
getSqlRestrictionFragments(BaseQueryImpl<?> query)
Returns the SQL restriction fragments.
|
X |
handle(QueryImpl<?> query,
SessionImpl session,
ResultSet row)
Handles the row.
|
javax.persistence.criteria.Expression<Class<? extends X>> |
type() |
cannotDereference, get, get, get, get, getParentPath, getRootPathas, getConverter, in, in, in, in, isNotNull, isNull, setConverteralias, getAlias, getCompoundSelectionItems, isCompoundSelection, isEntityListgetJavaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullpublic BasicPath(ParentPath<?,?> parent, BasicMapping<?,X> mapping)
parent - the parent pathmapping - the physical mappingpublic String generateJpqlRestriction(BaseQueryImpl<?> query)
generateJpqlRestriction in class AbstractExpression<X>query - the querypublic String generateJpqlSelect(AbstractCriteriaQueryImpl<?> query, boolean seleselectedcted)
generateJpqlSelect in class AbstractSelection<X>query - the criteria queryseleselectedcted - if the selection is selectedpublic String generateSqlSelect(AbstractCriteriaQueryImpl<?> query, boolean selected)
generateSqlSelect in class AbstractSelection<X>query - the queryselected - if the selection is selectedpublic BasicAttribute<?,X> getModel()
public String[] getSqlRestrictionFragments(BaseQueryImpl<?> query)
getSqlRestrictionFragments in class AbstractSelection<X>query - the querypublic X handle(QueryImpl<?> query, SessionImpl session, ResultSet row) throws SQLException
handle in class AbstractSelection<X>query - the querysession - the sessionrow - the rowSQLException - thrown in case of an underlying SQL ErrorCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.