Uses of Class
org.hibernate.EntityMode

Packages that use EntityMode
org.hibernate   
org.hibernate.cache   
org.hibernate.cfg   
org.hibernate.collection   
org.hibernate.engine   
org.hibernate.event.def   
org.hibernate.impl   
org.hibernate.mapping   
org.hibernate.metadata   
org.hibernate.persister.entity   
org.hibernate.pretty   
org.hibernate.property   
org.hibernate.tuple   
org.hibernate.type   
 

Uses of EntityMode in org.hibernate
 

Fields in org.hibernate declared as EntityMode
static EntityMode EntityMode.DOM4J
           
static EntityMode EntityMode.MAP
           
static EntityMode EntityMode.POJO
           
 

Methods in org.hibernate that return EntityMode
 EntityMode Session.getEntityMode()
          Retrieve the entity mode in effect for this session.
static EntityMode EntityMode.parse(String name)
           
 

Methods in org.hibernate with parameters of type EntityMode
 Session Session.getSession(EntityMode entityMode)
          Starts a new Session with the given entity mode in effect.
 Object EmptyInterceptor.instantiate(String entityName, EntityMode entityMode, Serializable id)
           
 Object Interceptor.instantiate(String entityName, EntityMode entityMode, Serializable id)
          Instantiate the entity class.
 

Uses of EntityMode in org.hibernate.cache
 

Methods in org.hibernate.cache with parameters of type EntityMode
static Set FilterKey.createFilterKeys(Map enabledFilters, EntityMode entityMode)
           
 

Constructors in org.hibernate.cache with parameters of type EntityMode
CacheKey(Serializable id, Type type, String entityOrRoleName, EntityMode entityMode, SessionFactoryImplementor factory)
          Construct a new key for a collection or entity instance.
FilterKey(String name, Map params, Map types, EntityMode entityMode)
           
QueryKey(String queryString, QueryParameters queryParameters, Set filters, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.cfg
 

Methods in org.hibernate.cfg that return EntityMode
 EntityMode Settings.getDefaultEntityMode()
           
 

Methods in org.hibernate.cfg with parameters of type EntityMode
 void Settings.setDefaultEntityMode(EntityMode defaultEntityMode)
           
 

Uses of EntityMode in org.hibernate.collection
 

Methods in org.hibernate.collection with parameters of type EntityMode
protected  Serializable PersistentSortedMap.snapshot(BasicCollectionPersister persister, EntityMode entityMode)
           
protected  Serializable PersistentSortedSet.snapshot(BasicCollectionPersister persister, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.engine
 

Methods in org.hibernate.engine that return EntityMode
 EntityMode SessionImplementor.getEntityMode()
           
 

Methods in org.hibernate.engine with parameters of type EntityMode
 Serializable[] BatchFetchQueue.getCollectionBatch(CollectionPersister collectionPersister, Serializable id, int batchSize, EntityMode entityMode)
          Get a batch of uninitialized collection keys for this role
 Serializable[] BatchFetchQueue.getEntityBatch(EntityPersister persister, Serializable id, int batchSize, EntityMode entityMode)
          Get a batch of unloaded identifiers for this class, using a slightly complex algorithm that tries to grab keys registered immediately after the given key.
 PersistentCollection CollectionLoadContext.getLoadingCollection(CollectionPersister persister, Serializable id, EntityMode em)
          Retrieve a collection that is in the process of being loaded, returning null if there is no loading collection with the given id
 PersistentCollection CollectionLoadContext.getLoadingCollection(CollectionPersister persister, Serializable key, Object resultSetId, EntityMode em)
          Retrieve a collection that is in the process of being loaded, instantiating a new collection if there is nothing for the given id, or returning null if the collection with the given id is already fully loaded in the session
 

Constructors in org.hibernate.engine with parameters of type EntityMode
CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)
           
EntityKey(Serializable id, EntityPersister persister, EntityMode entityMode)
          Construct a unique identifier for an entity class instance
EntityUniqueKey(String entityName, String uniqueKeyName, Object semiResolvedKey, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory)
           
TypedValue(Type type, Object value, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.event.def
 

Methods in org.hibernate.event.def with parameters of type EntityMode
 void DefaultFlushEntityEventListener.checkId(Object object, EntityPersister persister, Serializable id, EntityMode entityMode)
          make sure user didn't mangle the id
protected  Serializable DefaultSaveOrUpdateEventListener.getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, EntityMode entityMode)
           
protected  Serializable DefaultUpdateEventListener.getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, EntityMode entityMode)
          If the user specified an id, assign it to the instance and use that, otherwise use the id already assigned to the instance
protected  void DefaultFlushEntityEventListener.validate(Object entity, EntityPersister persister, Status status, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.impl
 

Methods in org.hibernate.impl that return EntityMode
 EntityMode SessionImpl.getEntityMode()
           
 EntityMode StatelessSessionImpl.getEntityMode()
           
 

Methods in org.hibernate.impl with parameters of type EntityMode
 Session SessionImpl.getSession(EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.mapping
 

Methods in org.hibernate.mapping with parameters of type EntityMode
 void Component.addTuplizer(EntityMode entityMode, String implClassName)
           
 void PersistentClass.addTuplizer(EntityMode entityMode, String implClassName)
           
 String Property.getAccessorPropertyName(EntityMode mode)
           
 String Component.getTuplizerImplClassName(EntityMode mode)
           
 String PersistentClass.getTuplizerImplClassName(EntityMode mode)
           
 String Subclass.getTuplizerImplClassName(EntityMode mode)
           
 

Uses of EntityMode in org.hibernate.metadata
 

Methods in org.hibernate.metadata with parameters of type EntityMode
 Serializable ClassMetadata.getIdentifier(Object entity, EntityMode entityMode)
          Get the identifier of an instance (throw an exception if no identifier property)
 Class ClassMetadata.getMappedClass(EntityMode entityMode)
          The persistent class, or null
 Object ClassMetadata.getPropertyValue(Object object, String propertyName, EntityMode entityMode)
          Get the value of a particular (named) property
 Object[] ClassMetadata.getPropertyValues(Object entity, EntityMode entityMode)
          Extract the property values from the given entity.
 Object ClassMetadata.getVersion(Object object, EntityMode entityMode)
          Get the version number (or timestamp) from the object's version property (or return null if not versioned)
 boolean ClassMetadata.implementsLifecycle(EntityMode entityMode)
          Does the class implement the Lifecycle interface?
 boolean ClassMetadata.implementsValidatable(EntityMode entityMode)
          Does the class implement the Validatable interface?
 Object ClassMetadata.instantiate(Serializable id, EntityMode entityMode)
          Create a class instance initialized with the given identifier
 void ClassMetadata.setIdentifier(Object object, Serializable id, EntityMode entityMode)
          Set the identifier of an instance (or do nothing if no identifier property)
 void ClassMetadata.setPropertyValue(Object object, String propertyName, Object value, EntityMode entityMode)
          Set the value of a particular (named) property
 void ClassMetadata.setPropertyValues(Object object, Object[] values, EntityMode entityMode)
          Set the given values to the mapped properties of the given object
 

Uses of EntityMode in org.hibernate.persister.entity
 

Methods in org.hibernate.persister.entity that return EntityMode
 EntityMode AbstractEntityPersister.guessEntityMode(Object object)
           
 EntityMode EntityPersister.guessEntityMode(Object object)
          Try to discover the entity mode from the entity instance
 

Methods in org.hibernate.persister.entity with parameters of type EntityMode
 Class AbstractEntityPersister.getConcreteProxyClass(EntityMode entityMode)
           
 Class EntityPersister.getConcreteProxyClass(EntityMode entityMode)
          Get the proxy interface that instances of this concrete class will be cast to (optional operation).
 Serializable AbstractEntityPersister.getIdentifier(Object object, EntityMode entityMode)
           
 Serializable EntityPersister.getIdentifier(Object object, EntityMode entityMode)
          Get the identifier of an instance (throw an exception if no identifier property)
 Class AbstractEntityPersister.getMappedClass(EntityMode entityMode)
           
 Class EntityPersister.getMappedClass(EntityMode entityMode)
          The persistent class, or null
protected  boolean[] AbstractEntityPersister.getPropertyUpdateability(Object entity, EntityMode entityMode)
          Which properties appear in the SQL update? (Initialized, updateable ones!)
 Object AbstractEntityPersister.getPropertyValue(Object object, int i, EntityMode entityMode)
           
 Object EntityPersister.getPropertyValue(Object object, int i, EntityMode entityMode)
          Get the value of a particular property
 Object AbstractEntityPersister.getPropertyValue(Object object, String propertyName, EntityMode entityMode)
           
 Object EntityPersister.getPropertyValue(Object object, String propertyName, EntityMode entityMode)
          Get the value of a particular property
 Object[] AbstractEntityPersister.getPropertyValues(Object object, EntityMode entityMode)
           
 Object[] EntityPersister.getPropertyValues(Object object, EntityMode entityMode)
          Return the (loaded) values of the mapped properties of the object (not including backrefs)
 EntityPersister AbstractEntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory, EntityMode entityMode)
           
 EntityPersister EntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory, EntityMode entityMode)
          Get the persister for an instance of this class or a subclass
protected  EntityTuplizer AbstractEntityPersister.getTuplizer(EntityMode entityMode)
           
 Object AbstractEntityPersister.getVersion(Object object, EntityMode entityMode)
           
 Object EntityPersister.getVersion(Object object, EntityMode entityMode)
          Get the version number (or timestamp) from the object's version property (or return null if not versioned)
 boolean AbstractEntityPersister.hasUninitializedLazyProperties(Object object, EntityMode entityMode)
           
 boolean EntityPersister.hasUninitializedLazyProperties(Object object, EntityMode entityMode)
          Does the given instance have any uninitialized lazy properties?
 boolean AbstractEntityPersister.implementsLifecycle(EntityMode entityMode)
           
 boolean EntityPersister.implementsLifecycle(EntityMode entityMode)
          Does the class implement the Lifecycle interface.
 boolean AbstractEntityPersister.implementsValidatable(EntityMode entityMode)
           
 boolean EntityPersister.implementsValidatable(EntityMode entityMode)
          Does the class implement the Validatable interface.
 Object AbstractEntityPersister.instantiate(Serializable id, EntityMode entityMode)
           
 Object EntityPersister.instantiate(Serializable id, EntityMode entityMode)
          Create a class instance initialized with the given identifier
 boolean AbstractEntityPersister.isInstance(Object object, EntityMode entityMode)
           
 boolean EntityPersister.isInstance(Object object, EntityMode entityMode)
          Is the given object an instance of this entity?
 boolean AbstractEntityPersister.isInstrumented(EntityMode entityMode)
           
 boolean EntityPersister.isInstrumented(EntityMode entityMode)
          Has the class actually been bytecode instrumented?
 void AbstractEntityPersister.resetIdentifier(Object entity, Serializable currentId, Object currentVersion, EntityMode entityMode)
           
 void EntityPersister.resetIdentifier(Object entity, Serializable currentId, Object currentVersion, EntityMode entityMode)
          Set the identifier and version of the given instance back to its "unsaved" value, returning the id
 void AbstractEntityPersister.setIdentifier(Object object, Serializable id, EntityMode entityMode)
           
 void EntityPersister.setIdentifier(Object object, Serializable id, EntityMode entityMode)
          Set the identifier of an instance (or do nothing if no identifier property)
 void AbstractEntityPersister.setPropertyValue(Object object, int i, Object value, EntityMode entityMode)
           
 void EntityPersister.setPropertyValue(Object object, int i, Object value, EntityMode entityMode)
          Set the value of a particular property
 void AbstractEntityPersister.setPropertyValue(Object object, String propertyName, Object value, EntityMode entityMode)
           
 void AbstractEntityPersister.setPropertyValues(Object object, Object[] values, EntityMode entityMode)
           
 void EntityPersister.setPropertyValues(Object object, Object[] values, EntityMode entityMode)
          Set the given values to the mapped properties of the given object
 

Uses of EntityMode in org.hibernate.pretty
 

Methods in org.hibernate.pretty with parameters of type EntityMode
 void Printer.toString(Iterator iter, EntityMode entityMode)
           
 String Printer.toString(Object entity, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.property
 

Methods in org.hibernate.property with parameters of type EntityMode
static PropertyAccessor PropertyAccessorFactory.getPropertyAccessor(Property property, EntityMode mode)
          Retrieves a PropertyAccessor instance based on the given property definition and entity mode.
 

Uses of EntityMode in org.hibernate.tuple
 

Methods in org.hibernate.tuple that return EntityMode
protected abstract  EntityMode AbstractEntityTuplizer.getEntityMode()
          Return the entity-mode handled by this tuplizer instance.
 EntityMode Dom4jEntityTuplizer.getEntityMode()
           
 EntityMode DynamicMapEntityTuplizer.getEntityMode()
           
 EntityMode PojoEntityTuplizer.getEntityMode()
           
 EntityMode EntityMetamodel.guessEntityMode(Object object)
           
 EntityMode TuplizerLookup.guessEntityMode(Object object)
          Given a supposed instance of an entity/component, guess its entity mode.
 

Methods in org.hibernate.tuple with parameters of type EntityMode
 EntityTuplizer EntityMetamodel.getTuplizer(EntityMode entityMode)
           
 Tuplizer TuplizerLookup.getTuplizer(EntityMode entityMode)
          Locate the contained tuplizer responsible for the given entity-mode.
 EntityTuplizer EntityMetamodel.getTuplizerOrNull(EntityMode entityMode)
           
 Tuplizer TuplizerLookup.getTuplizerOrNull(EntityMode entityMode)
          Locate the contained tuplizer responsible for the given entity-mode.
 

Uses of EntityMode in org.hibernate.type
 

Methods in org.hibernate.type with parameters of type EntityMode
 int AbstractType.compare(Object x, Object y, EntityMode entityMode)
           
 int AdaptedImmutableType.compare(Object x, Object y, EntityMode entityMode)
           
 int AnyType.compare(Object x, Object y, EntityMode entityMode)
           
 int BinaryType.compare(Object x, Object y, EntityMode entityMode)
           
 int BlobType.compare(Object x, Object y, EntityMode entityMode)
           
 int CalendarDateType.compare(Object x, Object y, EntityMode entityMode)
           
 int CalendarType.compare(Object x, Object y, EntityMode entityMode)
           
 int ClobType.compare(Object x, Object y, EntityMode entityMode)
           
 int CollectionType.compare(Object x, Object y, EntityMode entityMode)
           
 int ComponentType.compare(Object x, Object y, EntityMode entityMode)
           
 int EntityType.compare(Object x, Object y, EntityMode entityMode)
           
 int LocaleType.compare(Object x, Object y, EntityMode entityMode)
           
 int TimeZoneType.compare(Object x, Object y, EntityMode entityMode)
           
 int Type.compare(Object x, Object y, EntityMode entityMode)
          compare two instances of the type
 Object AnyType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object BlobType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object ClobType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object CollectionType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object ComponentType.deepCopy(Object component, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object CompositeCustomType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object CustomType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object EntityType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object ImmutableType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object MetaType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object MutableType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object Type.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
          Return a deep copy of the persistent state, stopping at entities and at collections.
 int AbstractType.getHashCode(Object x, EntityMode entityMode)
           
 int AdaptedImmutableType.getHashCode(Object x, EntityMode entityMode)
           
 int BigDecimalType.getHashCode(Object x, EntityMode entityMode)
           
 int BigIntegerType.getHashCode(Object x, EntityMode entityMode)
           
 int BinaryType.getHashCode(Object x, EntityMode entityMode)
           
 int BlobType.getHashCode(Object x, EntityMode entityMode)
           
 int CalendarDateType.getHashCode(Object x, EntityMode entityMode)
           
 int CalendarType.getHashCode(Object x, EntityMode entityMode)
           
 int ClobType.getHashCode(Object x, EntityMode entityMode)
           
 int CollectionType.getHashCode(Object x, EntityMode entityMode)
           
 int ComponentType.getHashCode(Object x, EntityMode entityMode)
           
 int CompositeCustomType.getHashCode(Object x, EntityMode entityMode)
           
 int CustomType.getHashCode(Object x, EntityMode entityMode)
           
 int DateType.getHashCode(Object x, EntityMode entityMode)
           
 int SerializableType.getHashCode(Object x, EntityMode entityMode)
           
 int TimeType.getHashCode(Object x, EntityMode entityMode)
           
 int TimestampType.getHashCode(Object x, EntityMode entityMode)
           
 int Type.getHashCode(Object x, EntityMode entityMode)
          Get a hashcode, consistent with persistence "equality"
 int AbstractType.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
           
 int ComponentType.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
           
 int EntityType.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
           
 int Type.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
          Get a hashcode, consistent with persistence "equality"
 Object ComponentType.getPropertyValue(Object component, int i, EntityMode entityMode)
           
 Object[] AbstractComponentType.getPropertyValues(Object component, EntityMode entityMode)
          Optional operation
 Object[] AnyType.getPropertyValues(Object component, EntityMode entityMode)
           
 Object[] ComponentType.getPropertyValues(Object component, EntityMode entityMode)
           
 Object[] CompositeCustomType.getPropertyValues(Object component, EntityMode entityMode)
           
 boolean ArrayType.hasHolder(EntityMode entityMode)
           
 boolean CollectionType.hasHolder(EntityMode entityMode)
           
protected  boolean ArrayType.initializeImmediately(EntityMode entityMode)
           
protected  boolean CollectionType.initializeImmediately(EntityMode entityMode)
           
 Object ComponentType.instantiate(EntityMode entityMode)
          This method does not populate the component parent
 boolean AbstractType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean BlobType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean ClobType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean CollectionType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean ComponentType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean CompositeCustomType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean CustomType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean NullableType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean Type.isEqual(Object x, Object y, EntityMode entityMode)
          Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
 boolean AbstractType.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
           
 boolean ComponentType.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
           
 boolean EntityType.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
           
 boolean Type.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
          Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
 boolean AbstractType.isSame(Object x, Object y, EntityMode entityMode)
           
 boolean AnyType.isSame(Object x, Object y, EntityMode entityMode)
           
 boolean ComponentType.isSame(Object x, Object y, EntityMode entityMode)
           
 boolean EntityType.isSame(Object x, Object y, EntityMode entityMode)
           
 boolean Type.isSame(Object x, Object y, EntityMode entityMode)
          Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state - taking a shortcut for entity references.
 void AbstractComponentType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)
          Optional operation
 void AnyType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)
           
 void ComponentType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)
           
 void CompositeCustomType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)