Re: No operations allowed after connection closed.

2005-06-29 Thread Clinton Begin
Just an FYI: DBCP and most app server pools also support validation/ping queries. ClintonOn 6/29/05, Meindert <[EMAIL PROTECTED]> wrote: Ok, sorry I didn't look very well.   The answer is in the back of the manual: SimpleDataSource Property Name:  Pool.PingQuery The pin

Re: PaginatedList question

2005-06-29 Thread Aladin
Thanks for the response Clinton. Since the last post, I have implemented my system using the queryForList() and am managing my pages using an index & offset. Take care. Aladin Clinton Begin wrote: Hi Aladin, PaginatedList is meant for simple systems that have the luxury of keeping a page

Re: Displaying generated SQL

2005-06-29 Thread Clinton Begin
Commons logging is supported.  with log4j, you simply use: java.sql=DEBUG com.ibatis=DEBUG and you should get the appropriate SQL statements, results and parameters. PS: In 2.1.5 the dependency on commons logging will be removed...CL will still be  supported, but so will L4J and JDK14 without co

Re: Returning Results from queries of a parameterized table name!!!

2005-06-29 Thread Clinton Begin
Can you post the exception? On 6/29/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote: This works fine,  the problem is it throws an exception at the very lastrecord that it tries to put in the Map.What list are you referring to?-Original Message-From: Larry Meadors [mailto: [EMAIL PROTECT

Re: iBatis, Informix, JNDI and Sun One Web Server

2005-06-29 Thread Clinton Begin
Unfortunately you're going to have to look here for your problem: com.sun.enterprise.resource.JdbcAllocator.(JdbcAllocator.java:58) It looks like the last thing iBATIS does is DataSource.getConnection().  After that, it's all up to Sun's app server.  They just open sourced it, so you might be ab

Re: Cache not being flushed

2005-06-29 Thread Clinton Begin
It looks rightbut this is the second time this has been reported in recent months.  We have about 6 unit tests just to verify cache flushing on execution, so I'm not sure what it could be.  Any chance you could debug using the ibatis source code, so you could step through the cache model? (put

Re: PaginatedList question

2005-06-29 Thread Clinton Begin
Hi Aladin, PaginatedList is meant for simple systems that have the luxury of keeping a page of data around in memory.  In a high performance system that needs to scale, keeping even a page of records in memory is a bad idea...regardless of PaginatedList.  Even 25 records per page could be devastat

Re: BindException on db call

2005-06-29 Thread dr_nailz
To add some closure to this: after much pain and suffering, reinstalling everything involved, checking the 'net for info (there were stories about 127.0.0.1 being removed from the routing table, and a 1.4.2 java version causing the problem), I went for the last resort and (ugh) reinstalled windows.

Re: cache behaviour

2005-06-29 Thread Brandon Goodin
The insert would definitely update the cache in that scenario. Brandon On 6/29/05, Daniel Henrique Ferreira e Silva <[EMAIL PROTECTED]> wrote: > Hi all, > > I may be saying something really stupid, so, please, be cool with me! ;-) > > Based on what Brandon stated i have one question: > > How w

Re: cache behaviour

2005-06-29 Thread Brandon Goodin
I understand what you are saying. But, it may not be desireable to express equality the same across your whole application or across all caches. A hashcode allows you to define only one way for that objects equality to be checked. I've never been a fan of messing around with hashcodes and equals be

Re: Using LIKE clause in SqlMap

2005-06-29 Thread Larry Meadors
http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+use+LIKE+in+my+queries%3F On 6/29/05, Rao, Satish <[EMAIL PROTECTED]> wrote: > > > I have the following entry in my sqlmap: > > resultMap="list-users-result" cacheModel="user-cache"> > > SELECT >

Using LIKE clause in SqlMap

2005-06-29 Thread Rao, Satish
Title: Using LIKE clause in SqlMap I have the following entry in my sqlmap: