Code:
public byte isFirstvalue(String A,
String B, String C, Date date) throws Exception {
CallableStatement cs = null;
Connection connection = null;
ResultSet rsResult = null;
byte isFirstvalue= -1;
byte isSecondvalue = -1;
try {
connection = getConnection();