Hello,
I was wondering why Hibernate3 does not support a outbound JCA? For example, I could imagine a ManagedConnectionFactory implementation that returns a SessionFactory. This was supported in Hibernate2. However, I can see that implementing ManagedConnections does not make sense since Hibernate Sessions should not be pooled.
Anyways, I would like to know if there is an "official" response to this. In particular, JCA is meant to provide a contractual interface for resources shared by many deployed applications. SessionFactory seems to fall into this category IMO. I know for JBoss, I could use their Hibernate support:
http://docs.jboss.org/jbossas/getting_started/v4/html/hibernate.html
but JCA seems the most standard way to integrate with other vendors.
Thanks for your time.
-mike