Re: [Hibernate] sweet

2005-10-03 Thread Max Rydahl Andersen
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

Re: [Hibernate] sweet

2005-10-03 Thread Mark Proctor
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

RE: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Steve Ebersole
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

Re: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Max Rydahl Andersen
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

Re: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Christian Bauer
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

RE: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Steve Ebersole
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.

Re: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Max Rydahl Andersen
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

Re: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Max Rydahl Andersen
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

Re: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Christian Bauer
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

RE: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Steve Ebersole
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