Using iBatis outside servlet container

2009-01-30 Thread Kai Kousa
ate a Mysql data source and bind it with JNDI, but after some googling I haven't found sensible instructions to do that. Only some tutorials about configuring JNDI data sources for servlet containers. Has anyone tried something similar and could help me with this? Cheers Kai -- Kai Ko

Re: Using iBatis outside servlet container

2009-01-30 Thread Kai Kousa
Mock JNDI sounds useful as it would prevent separate configs for web-app and the console-app. Can you give any pointers for doing this? I'm not very familiar with JNDI Kai Larry Meadors wrote: You could also do a very simple mock JNDI implementation - it's less than 100 lines of code. That w

Hooking into cache flushes?

2008-10-16 Thread Kai Kousa
Hi! Is it currently possible to hook into cache events like flushing, etc.? I would like to execute certain actions each time specific cache is flushed. Can this be done with the current API? Or should I try to develop my own component and then hack it to iBatis(if so, where to begin)? Than