Re: Another source of confusion.....

Mike Cannon-Brookes <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <BB5535B6.3018F%[email protected]>
Konstantin,

These files are required as if you want to do your own session management
with Hibernate, you need to provide your own DAO implementation. Otherwise
the PropertySet DAO does the flush/close and your performance goes down the
toilet.

The recommended method of using this is:
- Implement HibernateConfigurationProvider yourself
- Make it return your own DAO, which implements the DAO interface
- Use DAOUtils class to fill in the body of methods which are long and
laborious to recreate (see DAOImpl)

The same goes for OSUser.

M

On 5/8/03 2:24 AM, "Konstantin Priblouda" ([email protected]) penned the
words:

> Why this is a good design to provide 4 classes
> for HIbernatePropertySet?
> ( DAO Interface, DAOImpl , and DAOUtils )
> I could understand that with HibernateConfigProvider
> / And DefaultHibernateConfigProvider.
> 
> IMHO, now it's really hard to understand what happens
> where ( and especially, why it does not find session
> factory... )
> 
> 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!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.