Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Hibernate and After-Insert trigger

RE: Hibernate and After-Insert trigger

From: Ken Naim <kennaim_at_gmail.com>
Date: Tue, 21 Nov 2006 12:11:19 -0500
Message-ID: <019f01c70d90$126fff90$96b016ac@KenHome>


What is the after insert trigger doing? Could hibernate be undoing the action of the trigger?  


From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Luc Demanche
Sent: Tuesday, November 21, 2006 12:08 PM To: sfaroult_at_roughsea.com
Cc: oracle-l_at_freelists.org
Subject: Re: Hibernate and After-Insert trigger  

No, there is no filter in the trigger ... On 11/21/06, Stephane Faroult <sfaroult_at_roughsea.com> wrote: Could there be in the trigger something that is conditional on a user context or whatever application info has been set? It's a trick I have used several times for preventing updates except by one program. HTH
Stéphane Faroult

On Mar Nov 21 17:09 , "Luc Demanche" sent: Hi,  

Oracle9i - Hibernate  

We have a weird problem here with Hibernate and Oracle triggers ....  

When I insert manually into the table, the after-insert trigger is firing. When the insert come from Hibernate, it look like the trigger is not firing .....  

Do you have any clue ?  

Thanks
Luc

-- 
Luc Demanche
Oracle DBA

(514) 867-9977
-- Luc Demanche Oracle DBA
(514) 867-9977
-- http://www.freelists.org/webpage/oracle-l
Received on Tue Nov 21 2006 - 11:11:19 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US