We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I'd like to know how to create batch inserts or batch deletes with Norm. Is it that possible?
The text was updated successfully, but these errors were encountered:
There is no built-in support for it. I've been dropping into straight JDBC to do it.
Connection con = database.getConnection(); PreparedStatement myInserStatement = con.prepareStatement("insert into foo (id, bar) values (?,?)"); myInsertStatement.setInt(1, 1); myInsertStatement.setString(2, "hello"); myInsertStatement.addBatch(); myInsertStatement.setInt(1, 2); myInsertStatement.setString(2, "there"); myInsertStatement.addBatch(); myInsertStatement.executeBatch(); myInsertStatement.close(); con.close();
Sorry, something went wrong.
No branches or pull requests
Hello, I'd like to know how to create batch inserts or batch deletes with Norm. Is it that possible?
The text was updated successfully, but these errors were encountered: