All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.plugins.jdbc.statements.BatchInsertStatement.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






BatchInsertStatement (org.spincast:spincast-framework 1.0.0 API)












org.spincast.plugins.jdbc.statements

Interface BatchInsertStatement

    • Method Detail

      • batchInsert

        int[] batchInsert()
        Run the batch insert query. Returns the same informations as the native JDBC specs:
        See Also:
        https://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#executeBatch()
      • batchInsert

        List<Long> batchInsert(String primaryKeyName)
        Run the batch insert query and return the generated ids, if the current driver supports it.

        Note that some drivers don't support the return of generated keys when using batch inserts. An exception will be throwed if the generated keys cant be retrieved.

      • addBatch

        void addBatch()

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy