posted 13 years ago
iam unable to set the value in DTO. But iam able to read it using SOP on the console of eclipse. Something Strange is happening.
Problem with PendingPrQty only. Iam to set and get the values for rest of fields but not for PendingPrQty. In DB if i change the value of PendingPrQty to '0' then it does work but if change it to other than '0' then it works. Same with others also. If change their values to '0' then they also do not work. I don't know whats' problem with '0'.
Secondly using System.out.println(), iam able to print '0' but it is not able to set it on DTO and then get from DTO.?
output on console:-
2010.05.18 13:35:40.446,TRACE,[BA0D19A35728E3C2E95FA8C6FD3591AA vk en_US] (jp.co.yamaha_motor.commons.web.aop.CustomizableTraceInterceptorEx,CustomizableTraceInterceptorEx.java,267),Exiting : $Proxy120 : (jp.co.yamaha_motor.eproc.pjcommon.dao.ms.impl.StockDaoImpl@b679e1) : getIrPartsList : return = [jp.co.yamaha_motor.eproc.pjcommon.entity.ms.Stock@408caa[comp_id=jp.co.yamaha_motor.eproc.pjcommon.entity.ms.StockPK@3bc19e[sysOwnerCd=11208,warehouseCd=WH1,partNo=Part 1]]] : time = 16ms
Pending Stock ------------->0.00
Pending stock 0.00
2010.05.18 13:35:40.446,DEBUG,[BA0D19A35728E3C2E95FA8C6FD3591AA vk en_US] (org.hibernate.SQL,SQLStatementLogger.java,111),
select
uom0_.SYS_OWNER_CD as SYS1_40_0_,
uom0_.CODE_KEY1 as CODE2_40_0_,
uom0_.CODE_DATA1 as CODE3_40_0_
from
( select
*
from
CODE_MASTER
where
CODE_ID='7' ) uom0_
where
uom0_.SYS_OWNER_CD=?
and uom0_.CODE_KEY1=?
---------------------------------------
thanks in advance
Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."