Re: osuser hibernate providers

Hani Suleiman <[email protected]> Wed, 24 Dec 2003 08:50:59 -0500
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
For what it's worth I agree with Konstantin (even though I don't use 
hibernate). Demanding that someone writes classes to use hibernate when 
none of the other providers require it doesn't seem particularly 
user-friendly.

On Dec 24, 2003, at 8:40 AM, Konstantin Priblouda wrote:

>
>>> USER-54 - Yes, the default is braindead because it
>> needs to be. Anyone using
>>> Hibernate + OSUser is strongly recommended to
>> write their own DAOs and
>>> ConfigurationProvider implementations to use your
>> own Session management
>>> strategy (ie ThreadLocal, Spring or whatever).
>
> I disagree with this.  Default implementation shall
> work well, and as
> fast  as possible... If anyone is strongly recommendet
> to develop own DAO layer, then  nobody would ever use
> OSUser...
>
> YOu can provide some kind of "session provider"
> interface, which
> provides hibernate session to DAO in standart way. And
> even some
> implementations - servlet filter, thread local etc.
>
> regards,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verstärkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] für die Festanstellung.
> Arbeitsort: Mainz
> Skills:  Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for 
> IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys 
> admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click