Well, it might be doable by slightly changing the CurrentSessionContext
intf slightly. Instead of currentSession(), have
currentSession(SessionFactoryImplementor)
Additionally for ThreadLocalSessionContext, change the bind() and
unbind() methods appropriately. Its internal ThreadLocal could then
Steve Ebersole wrote:
Ah yes! Forgot that it already knows about the SF to which it is bound
via its constructor. So really the only changes needed here is to the
"static portion" of ThreadLocalSessionContext.
Well, it's a trivial implementation. We should either include it or at
the very lea
On Mon, 03 Oct 2005 16:31:58 +0200, Steve Ebersole
<[EMAIL PROTECTED]> wrote:
Well, it might be doable by slightly changing the CurrentSessionContext
intf slightly. Instead of currentSession(), have
currentSession(SessionFactoryImplementor)
Additionally for ThreadLocalSessionContext, change
On Mon, 03 Oct 2005 16:37:12 +0200, Steve Ebersole
<[EMAIL PROTECTED]> wrote:
Ah yes! Forgot that it already knows about the SF to which it is bound
via its constructor. So really the only changes needed here is to the
"static portion" of ThreadLocalSessionContext.
Well, it's a trivial impl
Ah yes! Forgot that it already knows about the SF to which it is bound
via its constructor. So really the only changes needed here is to the
"static portion" of ThreadLocalSessionContext.
Well, it's a trivial implementation. We should either include it or at
the very least post it to the Wiki.
Steve Ebersole wrote:
Here's another concern with the current impl for
ThreadLocalSessionContext: the static accessors. Basically the way
this is setup right now, users will nt be able to use this
simultaneously for multiple session-factories...
Well, I'd say that this is one of the "implemen
On Mon, 03 Oct 2005 16:15:01 +0200, Steve Ebersole
<[EMAIL PROTECTED]> wrote:
Here's another concern with the current impl for
ThreadLocalSessionContext: the static accessors. Basically the way
this is setup right now, users will nt be able to use this
simultaneously for multiple session-fac
Here's another concern with the current impl for
ThreadLocalSessionContext: the static accessors. Basically the way
this is setup right now, users will nt be able to use this
simultaneously for multiple session-factories...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTEC
No it only exists in CVS at the moment with discussions on the mailing list.
Mark
Max Rydahl Andersen wrote:
any link for that sweet project ? It seems well hidden over at their
site ,)
/max
Haven't seen this mentioned in the Hibernate mailing lists and
thought this might interest some peo
any link for that sweet project ? It seems well hidden over at their site
,)
/max
Haven't seen this mentioned in the Hibernate mailing lists and thought
this might interest some people. Eclipse has an incubator project for
Visual Editor, http://www.eclipse.org/vep/, called sweet. Its a
10 matches
Mail list logo