Re: Data mapper help ...please

2009-02-04 Thread Ingmar Lötzsch
Hello Rahul, I am very new to Ibatis so I need some help in regard to, How I can register my ArrayToStringtypehandlercallback for a particular field. 1) I know that I can declare my typehandler in sqlmapConfig file but if I do so, that means declaring it for every parameter of the same type

Re: Insert help

2009-02-04 Thread Ingmar Lötzsch
Hello Rahul, here an example for Date[]/date[] Can any one tell me how to use typehandlercallback implementation with sqlmap while doing insert public void insert(Planschichteinheit record) { getSqlMapClientTemplate().insert("planschichteinheit.insert", record); } and one more t

RE: Insert help

2009-02-04 Thread Rahul Saluja
Hello Ingmar, Really appreciate your response, Well I do need to bother you for one more thing if you could tell me where exactly do I need to insert the following statement (In my sqlmap-config.xml file or under my resource file). Once again appreciate your help. Regards Rahul Saluja

Re: Insert help

2009-02-04 Thread Ingmar Lötzsch
Hello Rahul, Really appreciate your response, Well I do need to bother you for one more thing if you could tell me where exactly do I need to insert the following statement (In my sqlmap-config.xml file or under my resource file). I don't know, if it is possible to place this elements in

Re: please unsubscribe me .

2009-02-04 Thread Larry Meadors
http://ibatis.apache.org/mailinglists.html On Tue, Feb 3, 2009 at 9:43 PM, wrote: > > > > > >

Re: Performance & SQL Formatting Issue

2009-02-04 Thread Jeff Butler
I duplicated this code but removed all the external dependencies (Spring, DBCP, etc.). I just stripped it down to plain iBATIS and MySQL. My results show this: 2 Unformatted Inserts: 3 seconds Avg. 2 Formatted Inserts: 2.5 seconds Avg. HOWEVER, if I reverse the order in which the method

RE: Performance & SQL Formatting Issue

2009-02-04 Thread M Goodell
Found the issue. Within the spring.xml file prepared statement pooling needs to be enabled on the data source. The default is false. Once set to "true" I am able to roughly achieve the same performance level Mr. Butler has in his tests. 2009-02-04 15:45:17,375 main springibatis.Main INFO - Ins

Re: Performance & SQL Formatting Issue

2009-02-04 Thread Larry Meadors
Wow, good troubleshooting, and thanks for sharing the real issue. Larry

RE: Insert help

2009-02-04 Thread Rahul Saluja
Hello Ingmar, Thanks for your timely help, finally it worked. Regards Rahul Saluja -Original Message- From: Ingmar Lötzsch [mailto:iloetz...@asci-systemhaus.de] Sent: Wednesday, February 04, 2009 3:05 PM To: user-java@ibatis.apache.org Subject: Re: Insert help Hello Rahul, > Really ap