ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject RE: Could not configure ResultMap
Date Thu, 04 May 2006 00:43:25 GMT
Do you have namespaces enabled in your sqlMap.config file?

 <setting useStatementNamespaces="true"/>

If so, you'll need to prefix the name of your resultMap:

 <select id="AAPSelect" parameterClass="int"
resultMap="Domain.AAPResult">

--- Alexandre Grenier <Alex.Grenier@markettools.com> wrote:

> 
> I figured it was irrelevant (doesn't seem to go that far) so I left
> it
> out for clarity. Here it is (was right below resultMaps tag):
> 
>   <statements>
>     <select id="AAPSelect" parameterClass="int"
> resultMap="AAPResult">
>       SELECT email, password
>       FROM accounts
>       WHERE id = #value#
>     </select>
>   </statements>
> 
> I'm still totally puzzled by this null reference exception!

Mime
View raw message