// Copyright (c) 2001 David Muse // See the file COPYING for more information. import com.firstworks.sqlrelay.SQLRConnection; import com.firstworks.sqlrelay.SQLRCursor; class oracle8i { private static void checkSuccess(String value, String success, int length) { if (success==null) { if (value==null) { System.out.println("success "); return; } else { System.out.println("failure "); System.exit(0); } } if (value.regionMatches(0,success,0,length)) { System.out.println("success "); } else { System.out.println("failure "); System.exit(0); } } private static void checkSuccess(String value, String success) { if (success==null) { if (value==null) { System.out.println("success "); return; } else { System.out.println("failure "); System.exit(0); } } if (value.equals(success)) { System.out.println("success "); } else { System.out.println("failure "); System.exit(0); } } private static void checkSuccess(byte[] value, String success, int length) { if (success==null) { if (value==null) { System.out.println("success "); return; } else { System.out.println("failure "); System.exit(0); } } byte[] successvalue=success.getBytes(); for (int index=0; index