Re: osuser hibernate providers

Mike Cannon-Brookes <[email protected]> Mon, 22 Dec 2003 11:35:52 +1100
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <BC0C8798.3EFA6%[email protected]>
Personally I'm strongly against putting the mappings in Xdoclet tags, it
makes the build more complicated and if you're using Hibernate with OSUser
you're most likely going to use your own mapping files (created from the
OSUser ones) than use the default ones provided.

As for the issues, let me look at them now (I found 5):

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).

USER-53 - I don't know about this one (we use the ProfileProvider and it
works - see above for suggestions!), but if the patch works it seems
reasonable to me.

USER-46 - well this again comes down to architecture choices really. As I
said, it works for me as it is now - but I'd like to hear input from Matt /
Brian as to the problems they have with how things work now.

USER-49 - seems to be still under discussion. Personally I agree with Matt
that the extra degree of Interfaces is probably not needed (at least for my
use cases), but I could live with if needed?

USER-41 - I'm not sure this is needed, as the unsaved-value of long should
just be -1 or something?

Mike

 On 22/12/03 10:51 AM, "J. Matthew Pryor" ([email protected]) penned
the words:

> Well I have patches to put the mappings into xdoclet tags
> 
> I assume I can find the issue jira, I'll take a look
> 
> jmp
> 
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]]On Behalf Of
>> Hani Suleiman
>> Sent: Monday, December 22, 2003 10:47 AM
>> To: [email protected]
>> Subject: [Opensymphony-developers] osuser hibernate providers
>> 
>> 
>> Alright, all you hibernate kids, time to sort out the mess in osuser!
>> 
>> Right now there are four open issues in osuser relating to the
>> hibernate providers. From my outside non-hibernate using point of view,
>> it looks like no two people can agree on how to use hibernate. This
>> can't be that hard, surely there's a standard way that everyone can
>> stick to?
>> 
>> So, what I'd like is for anyone who cares to come up with patches with
>> issues that affect them, and attach them to the issues. I'll commit the
>> patches and resolve the issues.
>> 
>> Basically, if you care enough, fix it. Those who care and give a
>> working solution get the benefit of having it work their way. Those who
>> care and don't give a working solution have to live with what other
>> hibernate users decided.
>> 
>> Hani
>> 
>> 
>> 
>> -------------------------------------------------------
>> 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_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_id=1278&alloc_id=3371&op=click