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.SQLExceptionpublic long executeLargeUpdate(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long executeLargeUpdate(java.lang.String sql,
int autoGeneratedKeys)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long executeLargeUpdate(java.lang.String sql,
int[] columnIndexes)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long executeLargeUpdate(java.lang.String sql,
java.lang.String[] columnNames)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long getLargeMaxRows()
throws java.sql.SQLException
java.sql.SQLExceptionpublic long getLargeUpdateCount()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setLargeMaxRows(long max)
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.lang.Object invoke(java.lang.String methodName,
java.lang.Class[] argTypes,
java.lang.Object[] argValues)
throws java.sql.SQLException
java.sql.SQLExceptionprivate java.sql.SQLException wrap(java.lang.Throwable t)
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.