public class HibernateEmbeddedCollectionProperty extends EmbeddedCollectionWithMapping implements HibernateToManyCollectionProperty
Hibernate implementation of EmbeddedCollection
| Fields inherited from class | Fields |
|---|---|
class EmbeddedCollectionWithMapping |
propertyMapping |
class AbstractPersistentProperty |
context, inherited, name, owner, type |
| Constructor and description |
|---|
HibernateEmbeddedCollectionProperty(PersistentEntity entity, MappingContext context, java.beans.PropertyDescriptor property) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public org.hibernate.mapping.Collection |
getHibernateCollection() |
|
public java.lang.String |
getTypeName()Returns null so that CollectionType
does not set a Hibernate type name on the collection mapping. |
|
public void |
setHibernateCollection(org.hibernate.mapping.Collection collection) |
Returns null so that CollectionType
does not set a Hibernate type name on the collection mapping. For embedded value-object collections
the element is bound as a Hibernate org.hibernate.mapping.Component, not as a basic type,
so propagating the Java class name here would cause Hibernate to reject it at boot.