[osuser,propertyset] Propesal for enhancements in osuser / propertyset
Konstantin Priblouda <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All, After excessive use of osuser/propertyset combo I would propose some new features. Currently you can save arbitrary property for osuser entity - that's fine, but ofter you need to save just a bean, like user profile, user status or whatever. Serializing bean is not always desirable - so good compromise is to save bean properties with keys constructed as common prefix and property name. Currently you have save those properties one at a time - this is not very performant especially for cases when you need to do it frequently. ( at least for certain providers ) Currently I use BeanIntrospectorPropertySet to get all properties which can be handled by propertyset from a bean and copy them into real propertyset. I think this could be core propertysrt feature. Another nice enhancement would be possibility to get all entities having certain property set ( like all users who were deactivated due to login failures, or whatevere else ) This could be also some kind of query like "all users with name starting with certain char", or all male users , or all users from brasil - in current situation you have to list all the users and query each separately thus resulting in really vast amount fo queries to database or ejb calls -> bad performance. 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!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.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/psa00100006ave/direct;at.asp_061203_01/01