TestFunctionOverload

Tests for overloaded user defined functions.

Methods
static void main(String... a)
Run just this test.
static void main(String... a) throws Exception
Run just this test.
Parameters:
a - ignored
static int overload0()
This method is called via reflection from the database.
static int overload0()
This method is called via reflection from the database.
Returns:
0
static int overload1or2(int one)
This method is called via reflection from the database.
static int overload1or2(int one)
This method is called via reflection from the database.
Parameters:
one - the value
Returns:
the value
static int overload1or2(int one, int two)
This method is called via reflection from the database.
static int overload1or2(int one, int two)
This method is called via reflection from the database.
Parameters:
one - the first value
two - the second value
Returns:
the sum of both
static int overload1or2WithConn(Connection conn, int one)
This method is called via reflection from the database.
static int overload1or2WithConn(Connection conn, int one) throws SQLException
This method is called via reflection from the database.
Parameters:
conn - the connection
one - the value
Returns:
the value
static int overload1or2WithConn(int one, int two)
This method is called via reflection from the database.
static int overload1or2WithConn(int one, int two)
This method is called via reflection from the database.
Parameters:
one - the first value
two - the second value
Returns:
the sum of both
static int overloadError(int one, int two)
This method is called via reflection from the database.
static int overloadError(int one, int two)
This method is called via reflection from the database.
Parameters:
one - the first value
two - the second value
Returns:
the sum of both
static int overloadError(double one, double two)
This method is called via reflection from the database.
static int overloadError(double one, double two)
This method is called via reflection from the database.
Parameters:
one - the first value
two - the second value
Returns:
the sum of both
void test()
void test() throws SQLException