Class SQLUpdateBatchActionImpl

    • Field Detail

      • sqlContents

        protected final java.util.List<java.lang.String> sqlContents
    • Constructor Detail

      • SQLUpdateBatchActionImpl

        public SQLUpdateBatchActionImpl​(@NotNull
                                        @NotNull SQLManagerImpl manager,
                                        @NotNull
                                        @NotNull java.lang.String sql)
    • Method Detail

      • getSQLContents

        @NotNull
        public @NotNull java.util.List<java.lang.String> getSQLContents()
        Description copied from interface: SQLAction
        得到该Action所要执行的源SQL语句列表。
        Specified by:
        getSQLContents in interface SQLAction<java.util.List<java.lang.Integer>>
        Specified by:
        getSQLContents in interface SQLUpdateBatchAction
        Returns:
        源SQL语句列表
      • execute

        @NotNull
        public @NotNull java.util.List<java.lang.Integer> execute()
                                                           throws java.sql.SQLException
        Description copied from interface: SQLAction
        执行该Action对应的SQL语句
        Specified by:
        execute in interface SQLAction<java.util.List<java.lang.Integer>>
        Returns:
        指定数据类型
        Throws:
        java.sql.SQLException - 当SQL操作出现问题时抛出