The following comment has been added to this issue:
Author: Konstantin Pribluda
Created: Tue, 5 Aug 2003 9:45 AM
Body:
Whole configuration system is a big bug ( IMHO )
OSUserHibernateConfigurationProvider inherits from
HibernateConfigurationProvider ( from Propertyset ),
HibernateConfigurationProvider builds own session factory,
while OSUserHibernateConfigurationProvider has
SessionManager ( which also has session factory )...
There are also 3 of them....
Yes, current system delivers poor performance ( and
does not work off CVS ).
And if users shall implement those DAO stuff, they shall be provided with instructions.
I would favor ( and provide some work as I need this feature in my projects ) to implement solution inside osuser / propertyset with decent performance and maybe configurable Session providers ( like those servlet filters and thread locals as you proposed in email )
---------------------------------------------------------------------
View the issue:
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=USER-46
Here is an overview of the issue:
---------------------------------------------------------------------
Key: USER-46
Summary: HIbernateProviders are buggy.
Type: Bug
Status: Assigned
Priority: Blocker
Project: OSUser
Components:
ProfileProviders
Assignee: Patrick Lightbody
Reporter: Konstantin Pribluda
Created: Mon, 4 Aug 2003 12:03 PM
Updated: Mon, 4 Aug 2003 12:03 PM
Environment: Any
Description:
Hmm, OSUserHibernateConfigurationProviderImpl extends
DefaultHibernateConfigurationProvider - but forgets to call
super.setupConfiguration().
This successfully prevents hibernate property set from proper
( any :) ) function - it just does not get any SessionFactory...
Oh, just forgot , while we are at it - why do we need 3 instances of
this provider? ( one fo AccessProvider, one for CredentialsProvider... )
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.opensymphony.com/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
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.