public static ResultSet simpleFunctionTable(Connection conn){
  SimpleResultSet result=new SimpleResultSet();
  result.addColumn("A",Types.INTEGER,0,0);
  result.addColumn("B",Types.CHAR,0,0);
  result.addRow(42,'X');
  return result;
}

public static ResultSet simpleFunctionTable ( Connection conn ) { SimpleResultSet result = new SimpleResultSet ( ) ; result . addColumn ( "A" , Types . INTEGER , 0 , 0 ) ; result . addColumn ( "B" , Types . CHAR , 0 , 0 ) ; result . addRow ( 42 , 'X' ) ; return result ; }
this method is called via reflection from the database .
