-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Cascade or Handle Manually
PostPosted: Thu Jan 19, 2006 1:42 pm 
Newbie

Joined: Tue Jan 03, 2006 12:19 pm
Posts: 5
I'm using NHibernate and c#. I have a psuedo lookup table in MSSQL (I didn't build these) which keeps track of which groups users are assigned to. It has the following:

userid
groupid
createdby
createdtime

I wanted to use cascades so I could just add/remove a group from a user, but I don't know how to update the createdby and createdtime in the lookup table. I'm thinking I will need to map a USER_GROUP object and do it myself.

Is this the right way to go, or is there a way to do cascades AND update/insert into the lookup table?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.