public class outparams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CLASS_NAME |
private static boolean |
HAVE_BIG_DECIMAL |
private static boolean |
HAVE_DRIVER_CLASS |
(package private) static java.lang.String[] |
outputMethods |
private static java.lang.String[] |
outputProcParam |
(package private) static int[] |
paramJDBCType |
(package private) static java.lang.String[] |
returnMethods |
(package private) static java.lang.String[] |
returnMethodType |
(package private) static java.lang.String[] |
typeNames |
(package private) static int[] |
types |
Constructor and Description |
---|
outparams() |
Modifier and Type | Method and Description |
---|---|
private static void |
byteArrayToString(byte[] barray,
java.lang.StringBuffer strbuf) |
private static void |
callGetMethod(java.sql.CallableStatement cs,
int arg,
int type,
int paramType,
java.lang.StringBuffer strbuf) |
private static void |
callSetMethod(java.sql.CallableStatement cs,
int arg,
int type,
java.lang.StringBuffer strbuf) |
private static void |
callSetObject(java.sql.CallableStatement cs,
int arg,
int type,
java.lang.StringBuffer strbuf) |
static void |
doInsertion(byte[] p25) |
private static void |
executeOutput(java.sql.CallableStatement cs) |
private static java.lang.String |
getStringOfType(int type) |
static void |
main(java.lang.String[] argv) |
static void |
output(int[] a1,
int[] a2,
int[] a3,
int[] a4,
int[] a5,
java.lang.String[] s1,
java.lang.String[] s2,
java.lang.String[] s3,
java.lang.String[] s4,
java.lang.String[] s5) |
static java.math.BigInteger |
returnsBigInteger(int type) |
static java.lang.Byte |
returnsByte(int type) |
static byte[] |
returnsByteArray(int type) |
static byte |
returnsByteP(int type) |
static java.sql.Date |
returnsDate(int type) |
static java.lang.Double |
returnsDouble(int type) |
static double |
returnsDoubleP(int type) |
static java.lang.Float |
returnsFloat(int type) |
static float |
returnsFloatP(int type) |
static java.lang.Integer |
returnsInteger(int type) |
static int |
returnsIntegerP(int type) |
static java.lang.Long |
returnsLong(int type) |
static long |
returnsLongP(int type) |
static void |
returnsNothing() |
static java.lang.Short |
returnsShort(int type) |
static short |
returnsShortP(int type) |
static java.lang.String |
returnsString(int type) |
static java.sql.Time |
returnsTime(int type) |
static java.sql.Timestamp |
returnsTimestamp(int type) |
static void |
runTests(java.sql.Connection conn) |
private static void |
setupInput(java.sql.PreparedStatement ps) |
static void |
takesBigInteger(java.math.BigInteger[] outparam,
int type) |
static void |
takesBoolean(java.lang.Boolean[] outparam,
int type) |
static void |
takesBooleanPrimitive(boolean[] outparam,
int type) |
static void |
takesByte(java.lang.Byte[] outparam,
int type) |
static void |
takesByteArray(byte[][] outparam,
int type) |
static void |
takesBytePrimitive(byte[] outparam,
int type) |
static void |
takesDate(java.sql.Date[] outparam,
int type) |
static void |
takesDouble(java.lang.Double[] outparam,
int type) |
static void |
takesDoublePrimitive(double[] outparam,
int type) |
static void |
takesFloat(java.lang.Float[] outparam,
int type) |
static void |
takesFloatPrimitive(float[] outparam,
int type) |
static void |
takesInteger(java.lang.Integer[] outparam,
int type) |
static void |
takesIntegerPrimitive(int[] outparam,
int type) |
static void |
takesLong(java.lang.Long[] outparam,
int type) |
static void |
takesLongPrimitive(long[] outparam,
int type) |
static void |
takesNothing() |
static void |
takesShort(java.lang.Short[] outparam,
int type) |
static void |
takesShortPrimitive(short[] outparam,
int type) |
static void |
takesString(java.lang.String[] outparam,
int type) |
static void |
takesTime(java.sql.Time[] outparam,
int type) |
static void |
takesTimestamp(java.sql.Timestamp[] outparam,
int type) |
private static void |
test5116(java.sql.Connection conn) |
private static void |
testEachOutputType(java.sql.Connection conn) |
private static void |
testManyOut(java.sql.Connection conn) |
private static void |
testMisc(java.sql.Connection conn) |
static void |
testNull(java.lang.Boolean passedInNull,
java.lang.Boolean setToNull,
java.lang.Integer[] retval) |
private static void |
testNull(java.sql.Connection conn) |
static void |
testNullBug4317(java.lang.String passedInNull) |
private static void |
testOtherOutputType(java.sql.Connection conn) |
private static void |
testReturnTypes(java.sql.Connection conn) |
private static void |
testUpdate(java.sql.Connection conn) |
private static boolean HAVE_BIG_DECIMAL
private static boolean HAVE_DRIVER_CLASS
private static java.lang.String CLASS_NAME
static java.lang.String[] outputMethods
private static final java.lang.String[] outputProcParam
static java.lang.String[] returnMethods
static java.lang.String[] returnMethodType
static int[] paramJDBCType
static final int[] types
static final java.lang.String[] typeNames
public static void main(java.lang.String[] argv) throws java.lang.Throwable
java.lang.Throwable
public static void runTests(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
private static void testMisc(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
private static void testNull(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
private static void testUpdate(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
private static void testEachOutputType(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
private static void testOtherOutputType(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
private static void testReturnTypes(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
private static void callSetObject(java.sql.CallableStatement cs, int arg, int type, java.lang.StringBuffer strbuf) throws java.lang.Throwable
java.lang.Throwable
private static void callSetMethod(java.sql.CallableStatement cs, int arg, int type, java.lang.StringBuffer strbuf) throws java.lang.Throwable
java.lang.Throwable
private static void callGetMethod(java.sql.CallableStatement cs, int arg, int type, int paramType, java.lang.StringBuffer strbuf) throws java.lang.Throwable
java.lang.Throwable
private static void byteArrayToString(byte[] barray, java.lang.StringBuffer strbuf)
private static java.lang.String getStringOfType(int type) throws java.lang.Throwable
java.lang.Throwable
public static void testNull(java.lang.Boolean passedInNull, java.lang.Boolean setToNull, java.lang.Integer[] retval) throws java.lang.Throwable
java.lang.Throwable
public static void testNullBug4317(java.lang.String passedInNull) throws java.lang.Throwable
java.lang.Throwable
public static void takesNothing()
public static void takesBytePrimitive(byte[] outparam, int type)
public static void takesByte(java.lang.Byte[] outparam, int type)
public static void takesShortPrimitive(short[] outparam, int type)
public static void takesShort(java.lang.Short[] outparam, int type)
public static void takesIntegerPrimitive(int[] outparam, int type)
public static void takesInteger(java.lang.Integer[] outparam, int type)
public static void takesLongPrimitive(long[] outparam, int type)
public static void takesLong(java.lang.Long[] outparam, int type)
public static void takesDoublePrimitive(double[] outparam, int type)
public static void takesDouble(java.lang.Double[] outparam, int type)
public static void takesFloatPrimitive(float[] outparam, int type)
public static void takesFloat(java.lang.Float[] outparam, int type)
public static void takesBooleanPrimitive(boolean[] outparam, int type)
public static void takesBoolean(java.lang.Boolean[] outparam, int type)
public static void takesByteArray(byte[][] outparam, int type)
public static void takesDate(java.sql.Date[] outparam, int type)
public static void takesTime(java.sql.Time[] outparam, int type)
public static void takesTimestamp(java.sql.Timestamp[] outparam, int type)
public static void takesString(java.lang.String[] outparam, int type) throws java.lang.Throwable
java.lang.Throwable
public static void takesBigInteger(java.math.BigInteger[] outparam, int type)
public static void returnsNothing()
public static byte returnsByteP(int type)
public static java.lang.Byte returnsByte(int type)
public static short returnsShortP(int type)
public static java.lang.Short returnsShort(int type)
public static int returnsIntegerP(int type)
public static java.lang.Integer returnsInteger(int type)
public static long returnsLongP(int type)
public static java.lang.Long returnsLong(int type)
public static float returnsFloatP(int type)
public static java.lang.Float returnsFloat(int type)
public static double returnsDoubleP(int type)
public static java.lang.Double returnsDouble(int type)
public static byte[] returnsByteArray(int type)
public static java.lang.String returnsString(int type) throws java.lang.Throwable
java.lang.Throwable
public static java.sql.Date returnsDate(int type)
public static java.sql.Time returnsTime(int type)
public static java.sql.Timestamp returnsTimestamp(int type)
public static java.math.BigInteger returnsBigInteger(int type)
private static void testManyOut(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
private static void setupInput(java.sql.PreparedStatement ps) throws java.sql.SQLException
java.sql.SQLException
private static void executeOutput(java.sql.CallableStatement cs) throws java.sql.SQLException
java.sql.SQLException
public static void output(int[] a1, int[] a2, int[] a3, int[] a4, int[] a5, java.lang.String[] s1, java.lang.String[] s2, java.lang.String[] s3, java.lang.String[] s4, java.lang.String[] s5)
private static void test5116(java.sql.Connection conn) throws java.lang.Throwable
java.lang.Throwable
public static void doInsertion(byte[] p25) throws java.lang.Throwable
java.lang.Throwable
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.