-->
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: Automatic SQL execution
PostPosted: Thu Feb 01, 2007 6:48 am 
Newbie

Joined: Fri Mar 26, 2004 7:02 am
Posts: 17
Hi All,
I've the a problem:
I need to update a field ind DB that exists in all my tables (an infrastructural DB column it is UPDATE_USER_ID) under the following conditions:

1) All my persistent classe MUST NOT to have a property mapped to this column
2)Every time I execute an Inset or an update on every persisted class I MUST to update this field
3) I MUST NOT solve this problem through triggers or store procedures

Pratically I need to add native SQL to all my insert/update statements.

Do U have any idea?


THX


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.