Did you try putting the cth reference where I suggested?

Clinton

On Thu, 20 Jan 2005 14:33:44 -0700, Nathan Maves <[EMAIL PROTECTED]> wrote:
> here is my latest getter in the CTH
> 
>      public Object getResult(ResultGetter getter) throws SQLException {
>          if (getter.wasNull())
>              return null;
>          int value = getter.getInt();
>          Frequency frequency = Frequency.get(value);
>          return frequency;
>      }
> 
> when I run the query from sqlplus I get a 1 for the frequency_id field.
> 
> but in the code above I get a value of 0 from the getter object.
> 
> Nathan
> 
> On Jan 20, 2005, at 2:16 PM, Nathan Maves wrote:
> 
> > I tried that just now and not change.
> >
> >
> > On Jan 20, 2005, at 2:01 PM, Clinton Begin wrote:
> >
> >> <result column="frequency_id" property="frequency"
> >> typeHandler="reporting.viewer.dao.ibatis.FrequencyTypeHandler"/>
> >
> 
>

Reply via email to