Re: EhCache support for iBatis

2009-02-28 Thread Rob Sonke
Could you give some more information maybe? Why using ehcache instead of the default cachecontrollers, it looks interesting. Rob Michel Schudel wrote: Hello, Just wanted to let everybody know that I implemented an EhCacheController for EhCache support for iBatis. Details and an example can

Re: custom type handler w/ database-specific type

2009-02-08 Thread Rob Sonke
DO you need access to the DataSource or the Connection? Rob John Cartwright wrote: I think I've worked around this problem by explicitly specifying the handler class w/in the in-line parameter map. Now I seem to have the problem of TypeHandler class needing access to the DataSource... --joh

Re: How does a web application using iBATIS find the DAOs?? ...pls help...its urgent

2009-02-06 Thread Rob Sonke
I know, I read the wicket mailinglist too. Have fun Edwin Ansicodd wrote: Hello Rob, This is more a subject for the wicket mailinglist then an ibatis problem. Did you try all these steps: http://cwiki.apache.org/WICKET/ibatis.html Thank you for the suggestion and the links. My er

Re: How does a web application using iBATIS find the DAOs?? ...pls help...its urgent

2009-02-05 Thread Rob Sonke
This is more a subject for the wicket mailinglist then an ibatis problem. Did you try all these steps: http://cwiki.apache.org/WICKET/ibatis.html Rob Edwin Ansicodd wrote: Hello Rob, Thank you very much for you reply!! I think I am loading my spring application context through web.xml w

Re: How does a web application using iBATIS find the DAOs?? ...pls help...its urgent

2009-02-05 Thread Rob Sonke
I think you forgot to load your spring application context (through the web.xml probably) Rob Edwin Ansicodd wrote: Using iBATIS, generated DAOs, beans, and _SqlMap.xml files. My abatorConfig.xml includes: I also have a persistance.ibatis.xml where my sqlmap and DAOs are configured:

Re: how do I get the handle to my CacheModel...

2008-10-03 Thread Rob Sonke
I don't know how to do that with properties but you can do it programmatically by adding a flushstatement: daoObject.getSqlMapExecutorDelegate().getCacheModel(modelName).addFlushTriggerStatement("Foo.insertFoo"); Never tried it actually but it should work. Shantanu Upadhyaya wrote: Either my