| Modifier and Type | Field and Description |
|---|---|
| private final PostInsertIdentityPersister |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | bindParameters(SessionImplementor
The session session, PreparedStatement The prepared ps, Object SQL commandThe entity being saved. entity)Bind any required parameter values into the SQL command |
| protected abstract Serializable | Returns: The generated identifierThe session session, ResultSet The result set containing the generated primay key values. rs, Object The entity being saved. entity)Extract the generated key value from the given result set. |
| protected abstract String | Returns: The SQL command stringGet the SQL statement to be used to retrieve generated key values. |
| public final Serializable | performInsert(String
The INSERT statement string insertSQL, SessionImplementor The session in which we are operating session, Binder The param binder binder)Implements org. |
| persister | back to summary |
|---|---|
| private final PostInsertIdentityPersister persister | |
| AbstractSelectingDelegate | back to summary |
|---|---|
| protected AbstractSelectingDelegate(PostInsertIdentityPersister persister) | |
| bindParameters | back to summary |
|---|---|
| protected void bindParameters(SessionImplementor session, PreparedStatement ps, Object entity) throws SQLException Bind any required parameter values into the SQL command
| |
| getResult | back to summary |
|---|---|
| protected abstract Serializable getResult(SessionImplementor session, ResultSet rs, Object entity) throws SQLException Extract the generated key value from the given result set.
| |
| getSelectSQL | back to summary |
|---|---|
| protected abstract String getSelectSQL() Get the SQL statement to be used to retrieve generated key values.
| |
| performInsert | back to summary |
|---|---|
| public final Serializable performInsert(String insertSQL, SessionImplementor session, Binder binder) Implements org. Doc from org. Perform the indicated insert SQL statement and determine the identifier value generated.
| |