Pardon my negligence with JCA, but I think that the added benefit of the proposed mechanism releases the developer from the responsibility to manually worry about closing sessions. Reduces the need for these pesky try/catch/finally.
Since the Hibernate session is on top of a DataSource, which is hopefully pooled, there is no need to pool sessions. Does this make sense, or I missed your point? Ivelin --- Adrian Brock <[EMAIL PROTECTED]> wrote: > On Sat, 2003-12-20 at 13:24, Ivelin Ivanov wrote: > > Related to this, I just bundled a proposed > addition to > > the Hibernate/JBoss integration. > > Gavin seemed to approve the design pattern. > Hopefully > > my implementation is acceptable. > > > > http://hibernate.org/66.82.html > > > > Let me know what you think. > > This looks like a cutdown version of what the jca > <tx-connection-factory> does in local transaction > mode, > except without any pooling of sessions. > > Doesn't Hibernate have a resource adapter already? > > I thought the point of the hibernate deployer was > to deploy the mappings? > > Regards, > Adrian > > > > > Ivelin > > > > > > --- Andrew Oliver <[EMAIL PROTECTED]> wrote: > > > I'm working on getting up to speed with > Hibernate. > > > I started following > > > these (http://hibernate.org/66.html) > instructions > > > but I'd rather have only 1 > > > instance of Hibernate for all of my hibernated > > > stuff. How far along is the > > > deployer? I'm running the HEAD and the SAR > seems > > > happy. I'm willing to > > > help the deployer along if you point me to it. > > > > > > Thanks, > > > > > > Andy > > > > > > > > > cc: Gavin as I don't know if he's watching > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux > > > Tutorials. > > > Become an expert in LINUX or just sharpen your > > > skills. Sign up for IBM's > > > Free Linux Tutorials. Learn everything from the > > > bash shell to sys admin. > > > Click now! > > > > > > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ > > > JBoss-Development mailing list > > > [EMAIL PROTECTED] > > > > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux > Tutorials. > > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > JBoss-Development mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > -- > xxxxxxxxxxxxxxxxxxxxxxxx > Adrian Brock > Director of Support > Back Office > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > JBoss-Development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development