| Modifier and Type | Class and Description |
|---|---|
| private abstract class | |
| private abstract class |
| Modifier and Type | Field and Description |
|---|---|
| private final JdbcCoordinatorImpl | |
| private final JdbcServices |
| Access | Constructor and Description |
|---|---|
| pack-priv | StatementPreparerImpl(JdbcCoordinatorImpl
The JdbcCoordinatorImpl jdbcCoordinator, JdbcServices jdbcServices)Construct a StatementPreparerImpl |
| Modifier and Type | Method and Description |
|---|---|
| private StatementPreparerImpl. | |
| private void | |
| protected final Connection | |
| public Statement | createStatement()
Implements org. |
| protected final LogicalConnectionImplementor | |
| public PreparedStatement | prepareQueryStatement(String
The SQL the statement to be prepared sql, final boolean Whether to prepare as a callable statement. isCallable, final ScrollMode (optional) scroll mode to be applied to the resulting result set; may be null to indicate
no scrolling should be applied. scrollMode)Implements org. |
| public PreparedStatement | prepareStatement(String
The SQL the statement to be prepared sql)Implements org. |
| public PreparedStatement | prepareStatement(String
The SQL the statement to be prepared sql, final boolean Whether to prepare as a callable statement. isCallable)Implements org. |
| public PreparedStatement | prepareStatement(String
The INSERT SQL sql, final int The autoGeneratedKeys flag autoGeneratedKeys)Implements org. |
| public PreparedStatement | prepareStatement(String
- the SQL for the statement to be prepared sql, final String[] The name of the columns to be returned in the generated keys result set. columnNames)Implements org. |
| private void | |
| protected final SessionFactoryOptions | |
| protected final SqlExceptionHelper |
| jdbcCoordinator | back to summary |
|---|---|
| private final JdbcCoordinatorImpl jdbcCoordinator | |
| jdbcServices | back to summary |
|---|---|
| private final JdbcServices jdbcServices | |
| StatementPreparerImpl | back to summary |
|---|---|
| pack-priv StatementPreparerImpl(JdbcCoordinatorImpl jdbcCoordinator, JdbcServices jdbcServices) Construct a StatementPreparerImpl
| |
| buildPreparedStatementPreparationTemplate | back to summary |
|---|---|
| private StatementPreparerImpl. | |
| checkAutoGeneratedKeysSupportEnabled | back to summary |
|---|---|
| private void checkAutoGeneratedKeysSupportEnabled() | |
| connection | back to summary |
|---|---|
| protected final Connection connection() | |
| createStatement | back to summary |
|---|---|
| public Statement createStatement() Implements org. Doc from org. Create a statement. | |
| logicalConnection | back to summary |
|---|---|
| protected final LogicalConnectionImplementor logicalConnection() | |
| prepareQueryStatement | back to summary |
|---|---|
| public PreparedStatement prepareQueryStatement(String sql, final boolean isCallable, final ScrollMode scrollMode) Implements org. Doc from org. Get a prepared statement for use in loading / querying.
| |
| prepareStatement | back to summary |
|---|---|
| public PreparedStatement prepareStatement(String sql) Implements org. Doc from org. Prepare a statement.
| |
| prepareStatement | back to summary |
|---|---|
| public PreparedStatement prepareStatement(String sql, final boolean isCallable) Implements org. Doc from org. Prepare a statement.
| |
| prepareStatement | back to summary |
|---|---|
| public PreparedStatement prepareStatement(String sql, final int autoGeneratedKeys) Implements org. Doc from org. Prepare an INSERT statement, specifying how auto-generated (by the database) keys should be handled. Really this is a boolean, but JDBC opted to define it instead using 2 int constants: Generated keys are accessed afterwards viajava.
| |
| prepareStatement | back to summary |
|---|---|
| public PreparedStatement prepareStatement(String sql, final String[] columnNames) Implements org. Doc from org. Prepare an INSERT statement, specifying columns which are auto-generated values to be returned.
Generated keys are accessed afterwards via
| |
| setStatementFetchSize | back to summary |
|---|---|
| private void setStatementFetchSize(PreparedStatement statement) throws SQLException | |
| settings | back to summary |
|---|---|
| protected final SessionFactoryOptions settings() | |
| sqlExceptionHelper | back to summary |
|---|---|
| protected final SqlExceptionHelper sqlExceptionHelper() | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| QueryStatementPreparationTemplate | back to summary |
|---|---|
| protected QueryStatementPreparationTemplate(String sql) | |
| postProcess | back to summary |
|---|---|
| public void postProcess(PreparedStatement preparedStatement) throws SQLException Overrides org. | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract PreparedStatement | |
| public void | |
| public PreparedStatement | |
| private void |
| sql | back to summary |
|---|---|
| protected final String sql | |
| StatementPreparationTemplate | back to summary |
|---|---|
| protected StatementPreparationTemplate(String incomingSql) | |
| doPrepare | back to summary |
|---|---|
| protected abstract PreparedStatement doPrepare() throws SQLException | |
| postProcess | back to summary |
|---|---|
| public void postProcess(PreparedStatement preparedStatement) throws SQLException | |
| prepareStatement | back to summary |
|---|---|
| public PreparedStatement prepareStatement() | |
| setStatementTimeout | back to summary |
|---|---|
| private void setStatementTimeout(PreparedStatement preparedStatement) throws SQLException | |