Sorry, I must have misread something.
You want to populate the rest of the objects properties from 3 basic
properties you supply (this is my guess). Is that so?

I guess this should work.
Do you get the row from a SQL client or straight JDBC?


-----Original Message-----
From: Sumanta Ghosh [mailto:[EMAIL PROTECTED] 
Sent: Friday, 11 August 2006 09:00
To: [email protected]
Subject: RE: IBATIS not working


Do I need to use that? because from the log file it is evident IBATIS is
identifying the query, the parameters etc. Just check the log trace
below

[java.sql.PreparedStatement] - {pstm-100001} PreparedStatement:
SELECT
initiatorId,year,month,gross,tds,net,txnSeqNo,createdBy,createdOn,modifi
edBy,modifiedOn,verNo    
FROM Payment WHERE initiatorId=? AND year=? AND month=?    
2006-08-11 18:15:02,726 DEBUG [java.sql.PreparedStatement] -
{pstm-100001}
Parameters: [ABC, 2006, 3]
2006-08-11 18:15:02,726 DEBUG [java.sql.PreparedStatement] -
{pstm-100001}
Types: [java.lang.String, java.lang.Integer, java.lang.Integer]
2006-08-11 18:15:02,736 DEBUG [java.sql.ResultSet] - {rset-100002}
ResultSet

the problem is finally the payment instance is not getting populated
--
View this message in context:
http://www.nabble.com/IBATIS-not-working-tf2090424.html#a5761794
Sent from the iBATIS - User - Java forum at Nabble.com.


Reply via email to