Class InlineIdsSubSelectValueListBulkIdStrategy

  • All Implemented Interfaces:
    MultiTableBulkIdStrategy

    public class InlineIdsSubSelectValueListBulkIdStrategy
    extends java.lang.Object
    implements MultiTableBulkIdStrategy
    This bulk-id strategy inlines identifiers of the rows that need to be updated or deleted in a subselect using a VALUES list:
     delete
     from
         Person
     where
         ( id ) in (
             select
                 id
             from (
                 values
                     ( 1 ),
                     ( 2 ),
                     ( 3 ),
                     ( 4 )
                 ) as HT (id)
         )