public static class StatementTest.StatementWrapper
extends java.lang.Object
This wrapper is used to expose JDBC 4.2 methods which can run on VM rev levels lower than Java 8.
Modifier and Type | Field and Description |
---|---|
private java.sql.Statement |
_wrappedStatement |
Constructor and Description |
---|
StatementWrapper(java.sql.Statement wrappedStatement) |
Modifier and Type | Method and Description |
---|---|
long[] |
executeLargeBatch() |
long |
executeLargeUpdate(java.lang.String sql) |
long |
executeLargeUpdate(java.lang.String sql,
int autoGeneratedKeys) |
long |
executeLargeUpdate(java.lang.String sql,
int[] columnIndexes) |
long |
executeLargeUpdate(java.lang.String sql,
java.lang.String[] columnNames) |
long |
getLargeMaxRows() |
long |
getLargeUpdateCount() |
java.sql.Statement |
getWrappedStatement() |
protected java.lang.Object |
invoke(java.lang.String methodName,
java.lang.Class[] argTypes,
java.lang.Object[] argValues) |
void |
setLargeMaxRows(long max) |
private java.sql.SQLException |
wrap(java.lang.Throwable t) |
public java.sql.Statement getWrappedStatement()
public long[] executeLargeBatch() throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
java.sql.SQLException
public long getLargeMaxRows() throws java.sql.SQLException
java.sql.SQLException
public long getLargeUpdateCount() throws java.sql.SQLException
java.sql.SQLException
public void setLargeMaxRows(long max) throws java.sql.SQLException
java.sql.SQLException
protected java.lang.Object invoke(java.lang.String methodName, java.lang.Class[] argTypes, java.lang.Object[] argValues) throws java.sql.SQLException
java.sql.SQLException
private java.sql.SQLException wrap(java.lang.Throwable t)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.