Java org.hibernate.persister.collection CollectionPersister fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.persister.collection CollectionPersister fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.persister.collection CollectionPersister.

The text is from its open source code.

Method

CollectionTypegetCollectionType()
Get the associated Type
ObjectgetElementByIndex(Serializable key, Object index, SharedSessionContractImplementor session, Object owner)
TypegetElementType()
Get the "element" type
SessionFactoryImplementorgetFactory()
TypegetIndexType()
Get the "index" type for a list or map (optional operation)
TypegetKeyType()
Get the "key" type (the type of the foreign key)
EntityPersistergetOwnerEntityPersister()
Get the persister of the entity that "owns" this collection
StringgetRole()
Get the name of this collection role (the fully qualified class name, extended by a "property path")
intgetSize(Serializable key, SharedSessionContractImplementor session)
booleanhasIndex()
Is this an "indexed" collection?
booleanisCascadeDeleteEnabled()
Is cascade delete handled by the database-level foreign key constraint definition?
booleanisInverse()
Is this collection "inverse", so state changes are not propogated to the database.
booleanisManyToMany()
Is this a many-to-many association?
ObjectreadElement(ResultSet rs, Object owner, String[] columnAliases, SharedSessionContractImplementor session)
Read the element from a row of the JDBC ResultSet
ObjectreadIndex(ResultSet rs, String[] columnAliases, SharedSessionContractImplementor session)
Read the index from a row of the JDBC ResultSet