[EMAIL PROTECTED] writes:
Hi,
can you put this into the proposals so we can look at the code?
I don't like opening a new package. We don't have filters yet. How
about o.a.t.util.hibernate?
>------_=_NextPart_001_01C339A2.1D508FD0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Just to fan the fires of discussion, I am using the Avalon based hibernate
>service that was originally part of Fulcrum, but was moved to the Hibernate
>project due to licensing issues.
>Having said that, I have a couple files that I use on every project that are
>required to use Hibernate.
>Specifically I have a servlet filter that opens and closes Hibernate session
>object so that queries can be executed during the templating process,
>without having the developer manually open and close it.
>I also have a ServiceLocator that gives me a singleton interface to the
>Hibernate Session object. It is used by the Servlet filter to actually open
>and close the hibernate session object.
Sounds like a job for our Factory Service. Can't you pull this from a
factory generated object?
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
--- Quote of the week: "It is pointless to tell people anything when
you know that they won't process the message." --- Jonathan Revusky
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]