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 <[EMAIL PROTECTED]> 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!

Reply via email to