|
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----- 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
|
