Ok thanks the documentation is on www.ibatis.org are do you have a better site?
>----- Oorspronkelijk bericht ----- >Van: Zoran Avtarovski [mailto:[EMAIL PROTECTED] >Verzonden: vrijdag, juni 1, 2007 01:57 PM >Aan: 'iBatis Java Mail List' >Onderwerp: Re: Please help me. > >In your SqlMap.xml try the following: > > <sqlMap namespace="Department"> > <select id="departmentcode" remapResults="true" parameterClass="String" > resultClass="hashmap"> > select departmentcode from $value$.DEPARTMENT > </select> > </sqlMap> > > >Then your Java code you have a few errors. You need to cast the result to a >hashmnap and you also need to pass the schema String as a parameter as >follows: > >sqlMap.queryForList("Department.departmentcode", schema); > >I also think you need to go over the online documentation. It's pretty good >for getting started. You'll find it's well worth the few hours reading. >Without the fundamentals you're going to be struggling. > >Z. > > > >
