ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme J Sweeney <ibatis.u...@gjsweeney.com>
Subject Re: No Statement...
Date Thu, 31 May 2007 11:18:56 GMT
On Thu, 31 May 2007, Giovanni D'Addabbo wrote:

<snip/>

> Ok it work very well but i've read in the book that i can use dot
> notation, for example Account.gettAllUsers ok now is the problem...how
> can i use this dot notation? :D

IIUC, you need to enable namespaces:

<sqlMapConfig>
...
   <settings
     useStatementNamespaces="true"
     />
...
<sqlMapConfig>


<sqlMap namespace="Account">
...

     <select id="getAllAccountIdValue" resultClass="int">
         select count(USERID) from USER_ACCOUNT
     </select>
...
  </sqlMap>


-- 
Graeme -

Mime
View raw message