接口 InsertGeneratedIdentifierDelegate

    • 方法详细资料

      • prepareIdentifierGeneratingInsert

        IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
        Build a Insert specific to the delegate's mode of handling generated key values.
        返回:
        The insert object.
      • performInsert

        Serializable performInsert​(String insertSQL,
                                   SharedSessionContractImplementor session,
                                   Binder binder)
        Perform the indicated insert SQL statement and determine the identifier value generated.
        参数:
        insertSQL - The INSERT statement string
        session - The session in which we are operating
        binder - The param binder
        返回:
        The generated identifier value.