public class CollectionReturn extends AbstractCollectionReference implements Return, CopyableReturn
| Constructor and Description |
|---|
CollectionReturn(CollectionReturn original,
CopyContext copyContext) |
CollectionReturn(SessionFactoryImplementor sessionFactory,
LockMode lockMode,
String ownerEntityName,
String ownerProperty) |
| Modifier and Type | Method and Description |
|---|---|
String |
getOwnerEntityName()
Returns the class owning the collection.
|
String |
getOwnerProperty()
Returns the name of the property representing the collection from the
getOwnerEntityName(). |
void |
hydrate(ResultSet resultSet,
ResultSetProcessingContext context) |
CollectionReturn |
makeCopy(CopyContext copyContext)
Makes a deep copy.
|
Object |
read(ResultSet resultSet,
ResultSetProcessingContext context)
Essentially performs the second phase of two-phase loading.
|
void |
resolve(ResultSet resultSet,
ResultSetProcessingContext context)
Effectively performs first phase of two-phase loading.
|
String |
toString() |
getCollectionPersister, getElementGraph, getIndexGraph, getLockMode, getPropertyPath, hasEntityElementssessionFactorypublic CollectionReturn(SessionFactoryImplementor sessionFactory, LockMode lockMode, String ownerEntityName, String ownerProperty)
public CollectionReturn(CollectionReturn original, CopyContext copyContext)
public String getOwnerEntityName()
public String getOwnerProperty()
getOwnerEntityName().public void hydrate(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException
hydrate in interface ReturnSQLExceptionpublic void resolve(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException
Returnresolve in interface ReturnresultSet - The result set being processedcontext - The context for the processingSQLException - Indicates a problem access the JDBC result setpublic Object read(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException
Returnread in interface ReturnresultSet - The result set being processedcontext - The context for the processingSQLException - Indicates a problem access the JDBC result setpublic CollectionReturn makeCopy(CopyContext copyContext)
CopyableReturnmakeCopy in interface CopyableReturnCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.