insert or update statement is executed.
Note that this class has responsibility for regular attributes of the entity. The
primary key / id attribute is handled separately, being the responsibility of an
instance of org..
OnExecutionGenerator
| Modifier and Type | Field and Description |
|---|---|
| private final EntityMappingType | |
| private final List | |
| private final JdbcParametersList | |
| private final JdbcOperationQuerySelect | |
| private final SelectStatement | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | GeneratedValuesProcessor(EntityMappingType entityDescriptor, EventType timing, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private List | |
| public EntityMappingType | |
| private static List | Returns: a list ofAttributeMappings.Find attributes generated by an |
| public List | |
| private JdbcParameterBindings | |
| public JdbcParametersList | |
| public SelectStatement | |
| public SessionFactoryImplementor | |
| private boolean | |
| public void | processGeneratedValues(Object entity, Object id, Object[] state, SharedSessionContractImplementor session)
Obtain the generated values, and populate the snapshot and the fields of the entity instance. |
| private void |
| entityDescriptor | back to summary |
|---|---|
| private final EntityMappingType entityDescriptor | |
| generatedValuesToSelect | back to summary |
|---|---|
| private final List<AttributeMapping> generatedValuesToSelect | |
| jdbcParameters | back to summary |
|---|---|
| private final JdbcParametersList jdbcParameters | |
| jdbcSelect | back to summary |
|---|---|
| private final JdbcOperationQuerySelect jdbcSelect | |
| selectStatement | back to summary |
|---|---|
| private final SelectStatement selectStatement | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| GeneratedValuesProcessor | back to summary |
|---|---|
| public GeneratedValuesProcessor(EntityMappingType entityDescriptor, EventType timing, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| executeSelect | back to summary |
|---|---|
| private List | |
| getEntityDescriptor | back to summary |
|---|---|
| public EntityMappingType getEntityDescriptor() | |
| getGeneratedAttributes | back to summary |
|---|---|
| private static List Find attributes generated by an
| |
| getGeneratedValuesToSelect | back to summary |
|---|---|
| public List | |
| getJdbcParameterBindings | back to summary |
|---|---|
| private JdbcParameterBindings getJdbcParameterBindings(Object id, SharedSessionContractImplementor session) | |
| getJdbcParameters | back to summary |
|---|---|
| public JdbcParametersList getJdbcParameters() | |
| getSelectStatement | back to summary |
|---|---|
| public SelectStatement getSelectStatement() | |
| getSessionFactory | back to summary |
|---|---|
| public SessionFactoryImplementor getSessionFactory()
Deprecated as a consequence of | |
| hasActualGeneratedValuesToSelect | back to summary |
|---|---|
| private boolean hasActualGeneratedValuesToSelect(SharedSessionContractImplementor session, Object entity) | |
| processGeneratedValues | back to summary |
|---|---|
| public void processGeneratedValues(Object entity, Object id, Object[] state, SharedSessionContractImplementor session) Obtain the generated values, and populate the snapshot and the fields of the entity instance. | |
| setEntityAttributes | back to summary |
|---|---|
| private void setEntityAttributes(Object entity, Object[] state, Object[] selectionResults) | |