ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaggernat <jaydeeproy...@yahoo.com>
Subject mapping column with array
Date Thu, 13 Sep 2007 23:51:48 GMT

hi guys

I am using DAO in my backend with IBATIS

I have a java value-object in which i  have defined something like
public String                  id = null;
public BigDecimal[]        access = null;
and set() methods
and get() methods

and in my IBATIS xml file, i am mapping my value object fields to table


      SELECT         ID_NO        AS  id,                 
                           PRICE         AS  access         
but in above sql   'access'   defined as BigDecimal[ ] doesnt seem to work.

any idea if it should be access  OR   access.intvalue  OR   anything else?

any help would be greatly appreciated

thanks a lot
View this message in context: http://www.nabble.com/mapping-column-with-array-tf4439234.html#a12665891
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message