public class InlineIdsSubSelectValueListBulkIdStrategy extends Object implements MultiTableBulkIdStrategy
delete
from
Person
where
( id ) in (
select
id
from (
values
( 1 ),
( 2 ),
( 3 ),
( 4 )
) as HT (id)
)
MultiTableBulkIdStrategy.DeleteHandler, MultiTableBulkIdStrategy.UpdateHandler| Modifier and Type | Field and Description |
|---|---|
static InlineIdsSubSelectValueListBulkIdStrategy |
INSTANCE |
| Constructor and Description |
|---|
InlineIdsSubSelectValueListBulkIdStrategy() |
| Modifier and Type | Method and Description |
|---|---|
MultiTableBulkIdStrategy.DeleteHandler |
buildDeleteHandler(SessionFactoryImplementor factory,
org.hibernate.hql.internal.ast.HqlSqlWalker walker)
Build a handler capable of handling the bulk delete indicated by the given walker.
|
MultiTableBulkIdStrategy.UpdateHandler |
buildUpdateHandler(SessionFactoryImplementor factory,
org.hibernate.hql.internal.ast.HqlSqlWalker walker)
Build a handler capable of handling the bulk update indicated by the given walker.
|
void |
prepare(JdbcServices jdbcServices,
JdbcConnectionAccess jdbcConnectionAccess,
MetadataImplementor metadataImplementor,
SessionFactoryOptions sessionFactoryOptions)
Prepare the strategy.
|
void |
release(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess)
Release the strategy.
|
public static final InlineIdsSubSelectValueListBulkIdStrategy INSTANCE
public InlineIdsSubSelectValueListBulkIdStrategy()
public void prepare(JdbcServices jdbcServices, JdbcConnectionAccess jdbcConnectionAccess, MetadataImplementor metadataImplementor, SessionFactoryOptions sessionFactoryOptions)
MultiTableBulkIdStrategyprepare in interface MultiTableBulkIdStrategyjdbcServices - The JdbcService objectjdbcConnectionAccess - Access to the JDBC ConnectionmetadataImplementor - Access to the O/RM mapping informationpublic void release(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess)
MultiTableBulkIdStrategyrelease in interface MultiTableBulkIdStrategyjdbcServices - The JdbcService objectconnectionAccess - Access to the JDBC Connectionpublic MultiTableBulkIdStrategy.UpdateHandler buildUpdateHandler(SessionFactoryImplementor factory, org.hibernate.hql.internal.ast.HqlSqlWalker walker)
MultiTableBulkIdStrategybuildUpdateHandler in interface MultiTableBulkIdStrategyfactory - The SessionFactorywalker - The AST walker, representing the update querypublic MultiTableBulkIdStrategy.DeleteHandler buildDeleteHandler(SessionFactoryImplementor factory, org.hibernate.hql.internal.ast.HqlSqlWalker walker)
MultiTableBulkIdStrategybuildDeleteHandler in interface MultiTableBulkIdStrategyfactory - The SessionFactorywalker - The AST walker, representing the delete queryCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.