From: Christian N. <chr...@em...> - 2004-12-25 16:51:37
|
Thanks Larry. Thats a nice christmas gift :) We have some rudimentary DataSource support in Proxool CVS (http://proxool.sourceforge.net/datasource.html), but have been very slow to finalize it. I'd be happy to have a look at your code and incorporate relevant parts in Proxool. Where in iBatis CVS is it? CHR > -----Original Message----- > From: Larry Meadors [mailto:lar...@gm...] > Sent: 24. desember 2004 04:37 > To: bil...@us...; > be...@us...; bre...@us...; > ch...@us...; ga...@us...; > mus...@us... > Subject: Proxool code donation? > > > My name is Larry Meadors, and I work on the ibatis project > (http://www.ibatis.com or http://sourceforge.net/projects/ibatisdb). > > A while back, I created a DataSource implementation based on proxool > that uses a ThreadLocal user to connect to a database. What this > allowed is user-specific pooling for applications (such as web-apps). > Another recent addition to it was the implementation of > getConnection(user, password) which will return a connection from the > specified user's pool. > > The more I work on it, the less sense it makes to put it into iBATIS. > > So, do you want it to include with proxool? > > It is currently in the iBATIS CVS repository on sf.net, but we are > moving to apache in the next month or two. I will glady give it to you > if you want it, it has been used by a few of our users, and seems to > work moderately well. I suspect if someone more intimately familiar > with proxool could make it much more usable. > > I also wrote a JNDI factory for it, but am not a JNDI expert, so > cannot say if that part is any good...but it does appear to work. ;-) > > Hmm, I just noticed the news on proxool.sf.net says "The next release > of Proxool (0.9.0) will include a DataSource implementation. Our best > guess for when this might be is December 2003 (as of 20 November > 2003)", so this may already be done. If not, maybe this is the > jumpstart you need to deliver it. > > Larry > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.296 / Virus Database: 265.6.4 - Release Date: 22.12.2004 > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.4 - Release Date: 22.12.2004 |