Re: Another source of confusion.....
Konstantin Priblouda <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
> >> 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) > > > > So you mean: leave session management to DAOImpl > and > > let DAOUtils do other work? > > Yes - exactly. For instance in our application we > have a ThreadLocal and a > ServletFilter which handle the Hibernate session > management stuff. So our > DAOImpl is very simple (usually one line per > method). That's in deed a cool idea. Grab session for whole request and zap it afterwards.... > > BTW, I would like to have some new features: > > - clearing/removing propertyset > > - bulk load of properties by prefix / without > prefix > > - also removal by prefix. > > I like to have later 2 because I'm storing user > > profiles in property set marshalling classes to > there. > > I construct property name from class name + > property > > name - it's not wise to read each property in its > own > > session. > > Sure - feel free to add them? I also have a proposal for compiling environment. Since there is no maven build yet, it would be cool if you provide loading of local property file - like with project.properties & build.properties in maven , and leave build.properties ( local ones ) out of CVS - this way I could setup distribution directory of jar to my maven repository. 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