Re: Caching objects on a application server

2008-11-12 Thread Chema
Thanks. I'll have a look these solutions. 2008/11/12 Kai Grabfelder <[EMAIL PROTECTED]>: > Are you sure that you want to do this using iBATIS? I think you should use > the iBATIS cache if you want to be > able to purge the cache depending on certain inserts. In you case I would do > the caching

Re: iBATIS with Tomcat vs JBoss

2008-11-12 Thread David Blevins
Larry Meadors wrote: > > On Wed, Nov 12, 2008 at 5:44 PM, David Blevins <[EMAIL PROTECTED]> > wrote: >> Here's a blog from a newer user who was pretty shocked and amazed that >> developing EJBs could actually be... dare I say *enjoyable*. >> http://qbeukes.blogspot.com/2008/08/rapid-ejb-develop

Re: iBATIS with Tomcat vs JBoss

2008-11-12 Thread Larry Meadors
On Wed, Nov 12, 2008 at 5:44 PM, David Blevins <[EMAIL PROTECTED]> wrote: > Here's a blog from a newer user who was pretty shocked and amazed that > developing EJBs could actually be... dare I say *enjoyable*. > http://qbeukes.blogspot.com/2008/08/rapid-ejb-development-with-unit-tests.html > But I

Dynamically generate ibatis sql maps at startup

2008-11-12 Thread joyukiok
I have an application that uses ibatis to persist data by calling a stored procedure. This is achieved using ibatis combined with its Spring support. I’m now looking to expand this application and add multiple stored procedure (>100). A different stored procedure will be called based on attributes

Re: iBATIS with Tomcat vs JBoss

2008-11-12 Thread David Blevins
Kai Grabfelder-2 wrote: > > I think your development efficiency will increase as you'll probably have > faster deployment/development cycles without all the ejb overhead. In > terms of runtime / production performance I don't think that a pure tomcat > setup is that much faster - but it will con

Re: iBATIS with Tomcat vs JBoss

2008-11-12 Thread Larry Meadors
On Wed, Nov 12, 2008 at 3:49 PM, Kai Grabfelder <[EMAIL PROTECTED]> wrote: > you should consider opening a bottle of beer as That sounds way better than coding. I like how you think. ;-) Larry

Re: iBATIS with Tomcat vs JBoss

2008-11-12 Thread Sundar Sankar
2k parallel users.. Hmm, I dont see a need for you to think beyond tomcat. But I would still vouch for jboss, cos it can get you support if you wanted. I am hearing a lot of organizations talk about it these days and if you are in one them or could be impacted by that clause later. yeah. Or else it

Re: iBATIS with Tomcat vs JBoss

2008-11-12 Thread Kai Grabfelder
you should consider opening a bottle of beer as it is just much less painful to develop simple (spring powered) web applications with a jetty and a tomcat instead of struggling with EJBs and application servers. Trust me ;-) I think your development efficiency will increase as you'll probably ha

Re: Caching objects on a application server

2008-11-12 Thread Kai Grabfelder
Are you sure that you want to do this using iBATIS? I think you should use the iBATIS cache if you want to be able to purge the cache depending on certain inserts. In you case I would do the caching one layer above, e.g. withing the (possible spring) service layer using some caching framework l

RE: Using Operators in Compare Value in Ibatis Result maps

2008-11-12 Thread Mehak
Hi Ankit When I use TIMESTAMP( #conditionList[].checkValue# ,'00.00.00') + 1 DAY It gives me exception: Caused by: org.xml.sax.SAXParseException: Attribute "ccompareValue" must be declared for element type "isEqual". I think compareValue="from"/"is' is used in iterator. But here I just want t

RE: Using Operators in Compare Value in Ibatis Result maps

2008-11-12 Thread ankit.khujneri
OK.. Now try this code snippet >= TIMESTAMP( #conditionList[].checkValue# ,'00.00.00') + 1 DAY Regards Ankit -Original Message- From: Mehak [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 3:04 PM To: user-java@ibatis.apache.org Subject: RE: Using Operators in Compare Val

RE: Using Operators in Compare Value in Ibatis Result maps

2008-11-12 Thread Mehak
Hi Ankit I tried using >= TIMESTAMP( #conditionList[].checkValue# ,'00.00.00') + 1 DAY It did not produce a sntax error but failed to excute. When we say compareValue="is", then it compares "conditionList[].operator" with value "is" and not with what is mentioned in . What we need here would be