Here is the console print. Sorry for the long log. I am trying to understand where i am making mistake. There is no exception or ERROR at this time but no Oracle DB update either.
You may notice two updates here since I am updating a student roster grade table.
I am calling a void DAO method with parameters in the controller for the UPDATE. The method rosterDAO.rosterGrdUpdate(p1,p2,p3,p4) is called in the controller method ModelAndView update_roster1_post(request,status)
You may also notice in the query below that i am using compound key: wr.compoundKey.stubun= :stb and wr.compoundKey.crs_cd= :cr
Code:
WGController---update_roster1_post**Ln545**stuGrdcnt : 2
0 --@@@ WGController---update_roster1_post**Ln581**stuBun :stuBun0 @@@@ jc11113
WGController---update_roster1_post**Ln609**
WgRosterDAO**Ln178**strDate = 2012-09-30
WgRosterDAO**Ln241**UPDATE stuGrdValue:A- modifyFlagUpdate:U todayStr:2012-09-30 pcID:0:0:0:0:0:0:0:1
WgRosterDAO**Ln250**querySt:QueryImpl(update WgRoster wr set wr.grade= :gr, wr.modify_flag= :mf, wr.grade_date=to_date(:gd,'yyyy-MM-dd') , wr.user_id= :ud where wr.compoundKey.stubun= :stb and wr.compoundKey.crs_cd= :cr and wr.modify_flag != :mfu)
WgRosterDAO**Ln308**querySt:QueryImpl(update WgRoster wr set wr.grade= :gr, wr.modify_flag= :mf, wr.grade_date=to_date(:gd,'yyyy-MM-dd') , wr.user_id= :ud where wr.compoundKey.stubun= :stb and wr.compoundKey.crs_cd= :cr and wr.modify_flag != :mfu)
WgRosterDAO**Ln309**UPDATE stuGrdValue:A- modifyFlagUpdate:U todayStr:2012-09-30 pcID:0:0:0:0:0:0:0:1
WgRosterDAO**Ln310**WHERE stuBunValue:jc11113 crsCd:0135 modifyFlagWh:N
WgRosterDAO**Ln312**Command successfully executed....
WgRosterDAO**Ln313**Number of records effected due to update query: 0
WgRosterDAO**Ln327*************BACK TO CONTROLLER ********************
WGController---update_roster1_post****Ln614**stuGradesInfo :stuBun0:jc11113;stuGrd0:A-;***
1 --@@@ WGController---update_roster1_post**Ln581**stuBun :stuBun1 @@@@ jj11112
WGController---update_roster1_post**Ln609**
WgRosterDAO**Ln178**strDate = 2012-09-30
WgRosterDAO**Ln241**UPDATE stuGrdValue:A- modifyFlagUpdate:U todayStr:2012-09-30 pcID:0:0:0:0:0:0:0:1
WgRosterDAO**Ln250**querySt:QueryImpl(update WgRoster wr set wr.grade= :gr, wr.modify_flag= :mf, wr.grade_date=to_date(:gd,'yyyy-MM-dd') , wr.user_id= :ud where wr.compoundKey.stubun= :stb and wr.compoundKey.crs_cd= :cr and wr.modify_flag != :mfu)
WgRosterDAO**Ln308**querySt:QueryImpl(update WgRoster wr set wr.grade= :gr, wr.modify_flag= :mf, wr.grade_date=to_date(:gd,'yyyy-MM-dd') , wr.user_id= :ud where wr.compoundKey.stubun= :stb and wr.compoundKey.crs_cd= :cr and wr.modify_flag != :mfu)
WgRosterDAO**Ln309**UPDATE stuGrdValue:A- modifyFlagUpdate:U todayStr:2012-09-30 pcID:0:0:0:0:0:0:0:1
WgRosterDAO**Ln310**WHERE stuBunValue:jj11112 crsCd:0135 modifyFlagWh:N
WgRosterDAO**Ln312**Command successfully executed....
WgRosterDAO**Ln313**Number of records effected due to update query: 0
WgRosterDAO**Ln327*************BACK TO CONTROLLER ********************
WGController---update_roster1_post****Ln614**stuGradesInfo :stuBun1:jj11112;stuGrd1:A-;***
WGController---update_roster1_post**Ln693**@@@@@@@@@@@@@@@@@@@@ TRANSFER TO JSP update_roster1-jsp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
update_roster1-jsp**Ln144**sectionInfo:webgrade.spring.domain.WGSection@1406868[crs_cd=0135,div_cd=G,discipln_cd=14,crs_num=9800,sec_num=S2DA,crse_descr=INTENSIVE SURVEY LAW,password=abc123,init_psw_flag=N,send_to_registrar=N,send_date=<null>,confirm_number=<null>,send_to_sims=<null>,dept_cd=LAW,alt_dept_cd=<null>,alt_dept1_cd=<null>,alt_dept2_cd=<null>,paper_roster=N,credits=4,login_count=0,login_time=1990-01-01 00:00:00.0,signature=<null>,emailed=false]
update_roster1-jsp**Ln182**crsCd*:0135
update_roster1-jsp**Ln183**Sun Sep 30 01:09:12 EDT 2012 %%%%%%%%%%% END of iteration %%%%%%%%%%
Thanks for looking into this.