Yeah, thx, request are logged… and seems to be all right..

 

But, have a look :

 

        UtilisateurExample criteria = new UtilisateurExample() ;       

        criteria.setMOBILE(user.getPrivateDatas().get(UserConsts.MOBILE).toString());       

        criteria.setMOBILE_Indicator(UtilisateurExample.EXAMPLE_EQUALS);

 

        ArrayList userList = new ArrayList() ;

                

        UtilisateurDAOImpl userDao = new UtilisateurDAOImpl() ;               

        userDao.setSqlMapClient(sqlMap);

                

        try

        {

            list = (ArrayList)userDao.selectByExample(criteria);

        }

        catch (SQLException e) ;

 

à list is empty even if I’m sure that the request answers 1 result !

 

Yesterday, it worked !

 

??

 

 

-----Message d'origine-----
De : Jeff Butler [mailto:[EMAIL PROTECTED]
Envoyé : mardi 11 juillet 2006 15:42
À : [email protected]
Objet : Re: trace generated request

 

Please see the latest developer's guide in SVN - it contains information on how to enable logging for iBATIS.

 

Jeff Butler

 

On 7/11/06, jeremy jardin <[EMAIL PROTECTED]> wrote:

Hi,

 

I've used Abator to generate XML, DAO et model files.

 

Now, I'm using BeanExample classes in may BusinessObject API to store and get datas .

 

It doesn't work well.. even if I explicitely set 'indicators"..

 

Is there a way to log generated request ?

 

Thx      

 

Reply via email to