Re: [lang] New StringUtils method - defaultIfEmpty

2005-04-09 Thread Fredrik Westermarck
Stephen Colebourne wrote: Currently we have two default methods, both of which default when the string parameter is null. At my job we just had need of a default if empty method: public String defaultIfEmpty(String str, String defaultString) { if (isEmpty(str)) { return defaultString; }

Re: DBCP maxActive does not set limit?

2005-04-09 Thread Dirk Verbeeck
You are correct that the maxActive limits the total number of connections. Can you check the number of connection on the oracle database itself? select * from v$session How many network connection are there at the end of the test? Also try to set maxIdle to 50 and test again. -- Dirk jgelb wrote:

DO NOT REPLY [Bug 34362] - [configuration] AbstractFileConfiguration.save() creates a new file instead of overwritting the existing one

2005-04-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34362. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 34362] - [configuration] AbstractFileConfiguration.save() creates a new file instead of overwritting the existing one

2005-04-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34362. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.