接口 MultiTableBulkIdStrategy

    • 方法详细资料

      • prepare

        void prepare​(JdbcServices jdbcServices,
                     JdbcConnectionAccess connectionAccess,
                     MetadataImplementor metadata,
                     SessionFactoryOptions sessionFactoryOptions)
        Prepare the strategy. Called as the SessionFactory is being built. Intended patterns here include:
        • Adding tables to the passed Mappings, to be picked by by "schema management tools"
        • Manually creating the tables immediately through the passed JDBC Connection access
        参数:
        jdbcServices - The JdbcService object
        connectionAccess - Access to the JDBC Connection
        metadata - Access to the O/RM mapping information
        sessionFactoryOptions -
      • release

        void release​(JdbcServices jdbcServices,
                     JdbcConnectionAccess connectionAccess)
        Release the strategy. Called as the SessionFactory is being shut down.
        参数:
        jdbcServices - The JdbcService object
        connectionAccess - Access to the JDBC Connection