RE: Calendars in paramter Maps not working

2008-09-06 Thread I L
Thanks Jeff, I'll give that a shot! Date: Fri, 5 Sep 2008 13:01:44 -0500 From: [EMAIL PROTECTED] To: user-java@ibatis.apache.org Subject: Re: Calendars in paramter Maps not working Specify your Calendar type handler directly like this: SELECT * FROM user_event WHERE create_dat

Re: Calendars in paramter Maps not working

2008-09-05 Thread Jeff Butler
Specify your Calendar type handler directly like this: SELECT * FROM user_event WHERE create_datetime #fromDate,handler=com.foo.CalendarTypeHandler# AND user_id=#id# Things get a little funky when there's a Map involved - iBATIS must not be finding the type handler mapping. Jeff Butler On F

Calendars in paramter Maps not working

2008-09-05 Thread I L
Hi guys, Let me just start by saying this is an awesome project! We were using hibernate which ended up being too complicated for what we needed. We switched to ibatis and it fit like a glove. Keep up the good work! I am having one issue with maps and calendars. I am passing a Java Map as a