Re: Best practice for using Ibatis in Web application

2008-12-05 Thread Alejandro D. Garin
+1 for ibatis with spring in web application. On Wed, Dec 3, 2008 at 5:30 PM, Rick <[EMAIL PROTECTED]> wrote: > @Ashish You can look at Larry's old struts-spring-ibatis for basic web > app setup: http://learntechnology.net/content/ibatis/spring_ibatis.jsp > > @Larry I did liked guice when I looke

Re: with parameterMap and parameterClass ?

2008-11-27 Thread Alejandro D. Garin
Great! Thank you Nicholoz. On Wed, Nov 26, 2008 at 8:32 PM, Nicholoz Koka Kiknadze <[EMAIL PROTECTED]>wrote: > >> >> >> >> >> >> >> >> INSERT INTO MSGS ( SY_ID1, SY_ID2, MS_COUNT, MS_TITLE) >> VALUES (#id1#,#id2,#messageCount#,#ti

Re: with parameterMap and parameterClass ?

2008-11-26 Thread Alejandro D. Garin
= ? How to indicate in the update statement that the SY_ID1 AND SY_ID2 must be in the where? I must change the order of the parameterMap ? Thanks On Wed, Nov 26, 2008 at 12:16 PM, Nicholoz Koka Kiknadze <[EMAIL PROTECTED] > wrote: > > > On Wed, Nov 26, 2008 at 8:05 AM, Alejandro D

Re: with parameterMap and parameterClass ?

2008-11-26 Thread Alejandro D. Garin
Hi Ingmar > provide an instance of Person as parameter, witch contains the values to > store. > > > UPDATE Person SET >name = #name:VARCHAR#, >lastname = #lastname:VARCHAR# > WHERE id = #id:INTEGER# > > OK, but, what if I have defined a parameterMap for an ? can't reuse it for an st

with parameterMap and parameterClass ?

2008-11-26 Thread Alejandro D. Garin
Hello! Could I use an statement using a parameterMap and a parameterClass ? How to use a parameterClass property? Example: UPDATE Person SET name=?,lastname=? WHERE id = (how to reference the value from parameter class Person here?) I can't found any examples of these case! Thank you! Reg