Click here to Skip to main content
15,911,360 members
Home / Discussions / Java
   

Java

 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Arman S.7-Jan-11 9:23
Arman S.7-Jan-11 9:23 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
jschell8-Jan-11 8:59
jschell8-Jan-11 8:59 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan8-Jan-11 21:49
mveRichard MacCutchan8-Jan-11 21:49 
GeneralRe: Comparing values in the table with the value the user keyed in [modified] Pin
pancakeleh9-Jan-11 16:59
pancakeleh9-Jan-11 16:59 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan9-Jan-11 23:00
mveRichard MacCutchan9-Jan-11 23:00 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
pancakeleh10-Jan-11 19:43
pancakeleh10-Jan-11 19:43 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan10-Jan-11 23:21
mveRichard MacCutchan10-Jan-11 23:21 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
pancakeleh12-Jan-11 21:48
pancakeleh12-Jan-11 21:48 
i have further change my code as shown below:

     try{

     Class.forName("org.apache.derby.jdbc.ClientDriver").newInstance();

    Connection con = DriverManager.getConnection(dbURL);

    stmt = con.createStatement();

    if(incidentidtxt != null){
  // rs = stmt.executeQuery("Select INCIDENTID from INCIDENTDATA where INCIDENTID = "+incidentStringNo+";");

         id = rs.getInt(1);

        if( id == 0){


            getSessionBean1().updateIncident(incidentId, instanceName);

        }

        else{

    Integer newIncidentID =  incidentId + 1;

     getSessionBean1().updateIncident(newIncidentID, instanceName);
    }

    }
    //}
    }

  catch (Exception ex) {

    log("ErrorDescription", ex);
          error(ex.getMessage());
}
    return null;
}

GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan12-Jan-11 22:06
mveRichard MacCutchan12-Jan-11 22:06 
QuestionNeed urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy5-Jan-11 12:13
aesthetic.crazy5-Jan-11 12:13 
AnswerRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
Richard MacCutchan5-Jan-11 21:41
mveRichard MacCutchan5-Jan-11 21:41 
AnswerRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
David Skelly5-Jan-11 22:19
David Skelly5-Jan-11 22:19 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy5-Jan-11 23:52
aesthetic.crazy5-Jan-11 23:52 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
David Skelly6-Jan-11 3:26
David Skelly6-Jan-11 3:26 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy6-Jan-11 10:38
aesthetic.crazy6-Jan-11 10:38 
AnswerRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
jschell6-Jan-11 9:25
jschell6-Jan-11 9:25 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy6-Jan-11 10:39
aesthetic.crazy6-Jan-11 10:39 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
jschell7-Jan-11 13:49
jschell7-Jan-11 13:49 
QuestionCreating an ArrayBinaryTree Pin
nee-kow5-Jan-11 6:48
nee-kow5-Jan-11 6:48 
AnswerRe: Creating an ArrayBinaryTree Pin
David Skelly5-Jan-11 22:16
David Skelly5-Jan-11 22:16 
GeneralRe: Creating an ArrayBinaryTree Pin
nee-kow5-Jan-11 22:44
nee-kow5-Jan-11 22:44 
GeneralRe: Creating an ArrayBinaryTree Pin
David Skelly6-Jan-11 3:31
David Skelly6-Jan-11 3:31 
QuestionI need help. Pin
nee-kow5-Jan-11 6:00
nee-kow5-Jan-11 6:00 
AnswerRe: I need help. Pin
Richard MacCutchan5-Jan-11 21:39
mveRichard MacCutchan5-Jan-11 21:39 
RantRe: I need help. Pin
musefan5-Jan-11 23:45
musefan5-Jan-11 23:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.