Hi guys, this mail is aimed mainly at Daniel and Igor as I understand 
they are responsible for the JCA implementation

I would like to get some information regarding the JCA adapter and 
request a possible rollback to an earlier implementation provided 
by Daniel. 

Here is a Scenario (mine actually), many different local Session 
beans in JBoss. All attempting to share a session using the ThreadLocal 
pattern. The reason for this is an attempt to use the lazy loading 
and proxy features provided by Hibernate.

As far as I can tell this fails because the JBoss server guarantees 
all transactions across a group of session beans participate in the 
transaction, but does not guarantee that the same resources such 
as Database connections are shared. In fact I am pretty confident 
that one of the stateless session bean Interceptors in JBoss closes 
the Database connections between session bean calls as it assumes 
that you have left the connection open if it is not closed. Goodbye 
to passing lazy loading proxy objects around as the connection beneath 
the Hibernate Session has been closed. 

So my request is that we reinstate, or at least provide a means by 
with Hibernate can manage its own connection pool to the database.


If I have misunderstood anything or there is an easier way around 
the problem please let me know. 

regards
Andy

p.s. If you guys agree with my assessment I would also be happy to 
try and add support to the JCA implementation for managing its own 
connections.




===================================================================
          Brought to you by: http://www.read-it.co.za/
===================================================================




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to