Re: force flushOnExecute without real query

2009-04-28 Thread WhyDontYouSlide
great! just what I was looking for! thank you! regards whydontyouslide Nicholoz Koka Kiknadze wrote: > > To flush on demand you can just call > SqlMapClient.flushDataCache(String cacheId). > > HTH > > > > On Tue, Apr 28, 2009 at 10:32 AM, WhyDontYouSlid

force flushOnExecute without real query

2009-04-28 Thread WhyDontYouSlide
doing this way I could for example be able to call the flush "on demand" from a DTO outside thx whydontyouslide -- View this message in context: http://www.nabble.com/force-flushOnExecute-without-real-query-tp23274367p23274367.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

custom type handler

2008-06-20 Thread WhyDontYouSlide
hey guys, i got serious problems while mapping a Object via a custom typeHandler I have this resultMap here: i i go in a LEFT JOIN on the Table which "map" the "AnotherObject" object. Problem is when the query (going left on that table) doesnt returns nothing

Re: isPropertyAvailable not working

2008-06-18 Thread WhyDontYouSlide
eryForList("getDettaglioElencoPolizze", param); } }); where param is a JavaBean instead of Map or any implementation of maps! WhyDontYouSlide wrote: > > Hey all, > > i'm having somthing like this: > > SELECT > NUM.

isPropertyAvailable not working

2008-06-18 Thread WhyDontYouSlide
Hey all, i'm having somthing like this: SELECT NUM.COD_COMPAGNIA, NUM.NUM_POLIZZA, NUM.IDE_TELAIO_TARG, NUM.DTA_EFFETTO FROMPOLIZZA_NUM NUM LEFT JOIN POLIZZA_CLIENTE POL_CLI ON POL_CLI.ID_POLIZZA

Re: JDBC Type 0 not yet supported

2008-06-06 Thread WhyDontYouSlide
yea with a typeHandler like this i cen get through the problem public Object getResult(CallableStatement cs, int columnIndex) throws SQLException { Object s = cs.getString(columnIndex); if(cs.wasNull()) return Constants.

JDBC Type 0 not yet supported

2008-06-06 Thread WhyDontYouSlide
Hey all, I would like to share you guys this problem im getting constantly by using Ibatis via jdbc to do queries on DB2... Let's say we have written a simple query like this SELECT PCT_SCO_MAX, FROM$schema$.FLES_PERC_SCO WHERE COD_COMPANY = #codCompany#