Menu

#8 Reuse Hibernate Session across Transactions

open
5
2006-04-23
2006-04-23
No

[This point has been discussed in forum and also on
Tapestry mailing list]

Currently if 2 services A and B have "Required"
demarcation, and they are called sequentially by a
service C (no demarcation), then A runs in one
transaction and B in another. That is normal.

However, the problem is that A and B also use two
different Hibernate Sessions. That can be a problem
due to the amount of infomation that Hibernate stores
in Session's cache.
It would be good to have an option to indicate that
we want one Session reused across Transactions.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.