LazyPropertyInitializer (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.bytecode.instrumentation.spi
Interface LazyPropertyInitializer

All Known Implementing Classes:
  AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister

    public interface LazyPropertyInitializer

Contract for controlling how lazy properties get initialized.

Field Summary
`static Serializable` | `UNFETCHED_PROPERTY` Marker value for uninitialized properties

Method Summary
`Object` | `initializeLazyProperty(String fieldName, Object entity, SessionImplementor session)` Initialize the property, and return its new value

Field Detail

### UNFETCHED_PROPERTY

    static final Serializable UNFETCHED_PROPERTY

  Marker value for uninitialized properties

Method Detail

### initializeLazyProperty

    Object initializeLazyProperty(String fieldName,
                                  Object entity,
                                  SessionImplementor session)

  Initialize the property, and return its new value

  Parameters:
    `fieldName` - The name of the field being initialized
    `entity` - The entity on which the initialization is occurring
    `session` - The session from which the initialization originated.
  Returns:
    ?

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.