R: SqlMapClient multithread applications

2009-07-14 Thread De Gaetano Giuseppe
Hi all, after 2.5 years of production my application starts to have some problem. Here is the error that I am experiencing --- The error occurred while applying a parameter map. --- Check the Foo.bar-InlineParameterMap. --- Check the statement (query failed). --- Cause: java.sql.SQLException:

RE: error fetching BLOB and CLOB data

2009-07-14 Thread Pat Thatte
Thanks Mario. We are using a CLI-based Type 2 JDBC Driver which uses jdbc 2.0. We eliminated the driver as an issue, as I mentioned in my question, by using the same datasource with straight SQL. We were able to successfully fetch BLOB and CLOB with straight SQL instead of iBATIS. Any other

Re: error fetching BLOB and CLOB data

2009-07-14 Thread Jeff Butler
Where in the iBATIS code is this happening? You haven't given us much to go on - perhaps an abbreviated stack trace would be in order? Jeff Butler On Tue, Jul 14, 2009 at 8:58 AM, Pat Thatte pat4...@hotmail.com wrote: Thanks Mario. We are using a CLI-based Type 2 JDBC Driver which uses jdbc

Re: R: SqlMapClient multithread applications

2009-07-14 Thread Larry Meadors
You can use a single sql map client to service many threads...if that's your question. :) Larry On Tue, Jul 14, 2009 at 6:17 AM, De Gaetano Giuseppedegaet...@pitagora.it wrote: Hi all, after 2.5 years of production my application starts to have some problem. Here is the error that I am

R: R: SqlMapClient multithread applications

2009-07-14 Thread De Gaetano Giuseppe
Hi, is what I am doing but I get this error. :-( I use the hashtable in a factory that provides the needed SqlMapClient to the service. Thanks Giuseppe I'll keep deep debugging the services. -Messaggio originale- Da: Larry Meadors [mailto:larry.mead...@gmail.com] Inviato: martedì 14

TypeHandlerCallback for multiple columns

2009-07-14 Thread Scott . Smith2
I have a tricky TypeHandlerCallback problem in Java 1.6 with iBatis 2.3 and postgresql 8.3: * I have a java class that consists of 2 fields, duration (int) and units (a java-5-style enum). The fields are final, so they must be set in the constructor (no setters). * I need to

problem with insert

2009-07-14 Thread Odelya YomTov
Hi! I am trying to insert data in Hebrew into the database The table is set to utf-8. But in the log file I see: DEBUG [http-12091-Processor24] - Created connection 27901603. DEBUG [http-12091-Processor24] - {conn-10} Connection DEBUG [http-12091-Processor24] - {pstm-11}

Re: problem with insert

2009-07-14 Thread Nicholoz Koka Kiknadze
Is it possible that you just did not set your log file encoding? Kind of log4j.appender.someappender.Encoding=UTF-8 On Tue, Jul 14, 2009 at 8:40 PM, Odelya YomTov ode...@jpost.com wrote: Hi! I am trying to insert data in Hebrew into the database The table is set to utf-8. But in the

RE: problem with insert

2009-07-14 Thread Odelya YomTov
Hi! It's not the problem with the log file encoding. It's something is the connection between ibatis and mysql From: Nicholoz Koka Kiknadze [mailto:kikna...@gmail.com] Sent: Tuesday, July 14, 2009 9:52 PM To: user-java@ibatis.apache.org Subject: Re: problem with insert Is it possible

Re: problem with insert

2009-07-14 Thread Chris O'Connell
Reading this, I'm not 100% sure I even know what your problem is. You state that you are trying to insert data but the logging that you show is for a 'select' statement and no exceptions are shown in the log. You could have a situation where you did an insert with one connection, but never

Re: problem with insert

2009-07-14 Thread Nicholoz Koka Kiknadze
Try this thread: http://www.mail-archive.com/user-java@ibatis.apache.org/msg13497.html Seems similar problem was solved there GL On Tue, Jul 14, 2009 at 11:00 PM, Odelya YomTov ode...@jpost.com wrote: Hi! It's not the problem with the log file encoding. It's something is the connection

Ignore breakpoint in Java Servlet with iBatis

2009-07-14 Thread Sheile
Hi. I develop a simple servlet with iBatis. I found strange behavior for breakpoint in eclipse. Servlet Source: - protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println(Breakpoint 1);