com.liferay.portal.dao.orm.jpa
Class SQLQueryImpl
java.lang.Object
com.liferay.portal.dao.orm.jpa.QueryImpl
com.liferay.portal.dao.orm.jpa.SQLQueryImpl
- All Implemented Interfaces:
- Query, SQLQuery
public class SQLQueryImpl
- extends QueryImpl
- implements SQLQuery
Fields inherited from class com.liferay.portal.dao.orm.jpa.QueryImpl |
entityClass, firstResult, flushModeType, lockModeType, maxResults, namedParameterMap, positionalParameterMap, queryString, sessionImpl, sqlQuery, strictName |
Methods inherited from class com.liferay.portal.dao.orm.jpa.QueryImpl |
executeUpdate, iterate, iterate, list, list, scroll, setBoolean, setBoolean, setCacheable, setCacheMode, setCacheRegion, setDouble, setDouble, setFirstResult, setFloat, setFloat, setFlushMode, setInteger, setInteger, setLockMode, setLong, setLong, setMaxResults, setSerializable, setSerializable, setShort, setShort, setString, setString, setTimestamp, setTimestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.kernel.dao.orm.Query |
executeUpdate, iterate, iterate, list, list, scroll, setBoolean, setBoolean, setCacheable, setCacheMode, setCacheRegion, setDouble, setDouble, setFirstResult, setFloat, setFloat, setInteger, setInteger, setLockMode, setLong, setLong, setMaxResults, setSerializable, setSerializable, setShort, setShort, setString, setString, setTimestamp, setTimestamp |
SQLQueryImpl
public SQLQueryImpl(SessionImpl sessionImpl,
String queryString,
boolean strictName)
addEntity
public SQLQuery addEntity(String alias,
Class<?> entityClass)
- Specified by:
addEntity
in interface SQLQuery
addScalar
public SQLQuery addScalar(String columnAlias,
Type type)
- Specified by:
addScalar
in interface SQLQuery
list
public List<?> list(boolean copy,
boolean unmodifiable)
throws ORMException
- Specified by:
list
in interface Query
- Overrides:
list
in class QueryImpl
- Throws:
ORMException
uniqueResult
public Object uniqueResult()
throws ORMException
- Specified by:
uniqueResult
in interface Query
- Overrides:
uniqueResult
in class QueryImpl
- Throws:
ORMException