nested ArrayLists

2009-04-07 Thread bpamarti
Lets say Person is a bean public class Person implements Serializable { String firstName; String lastName; ArrayList addresses; ... getters and setters ... } Address is another bean public class Address implements Serializable { String city; String state; ... getters and sette

Re: Stored Procedure in iBatis

2009-03-04 Thread bpamarti
have changed parameterClass attribute to parameterMap and this worked. Thanks! bpamarti wrote: > > Could you pls be more specific. projectParam is not a class its an id. > > Sundar Sankar wrote: >> >> My guess is u will have to define the full path of the projectPara

Re: Stored Procedure in iBatis

2009-03-04 Thread bpamarti
; > > On Wed, Mar 4, 2009 at 1:53 PM, bpamarti wrote: > >> >> Hi Gurus: >> Can anyone of you please tell me what am I doing wrong here...spent hours >> and couldnt figure out.. >> >> >> >> > type="xxx.xx.xxx.projtracker.beans.Pro

Re: Stored Procedure in iBatis

2009-03-04 Thread bpamarti
Hi Gurus: Can anyone of you please tell me what am I doing wrong here...spent hours and couldnt figure out.. {call ProjT_UpdateProjectDetails(?,?,?,?,?) } These are the errors I am seeing in the log file ---> 3/4/09 14:09:19:731 CST] 0043 SystemErr R Caused by:

Re: Protocol Error - SimpleDataSource.pushConnection() when using oraclecursors

2008-05-07 Thread bpamarti
Hi, Are you able to get the data in the "List"? My understanding is that Oracle Cursor returns a resultset and we need to iterate through the resultset and populate a List with the beans. String resource; Reader reader; SqlMapClient sqlMap; resource = "compa