Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Hibernate
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Hibernate section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 24th, 2011, 01:42 AM
Registered User
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database trigger implemetation in hibernate

Hi Friends,
I am new to database triggers.
I want to know how database triggers can be implemented in hibernate.
My scenarioe is as below:
Say i on insertion to one table(T1) , should fire trigger which updates another table (T2).

How this can be implemeted. I am using hibernate. So this can be done in hibernate.
How to specify in mapping file

Any help would be great.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trigger-based auditing to your SQL Server database maulik77 SQL Server 2000 0 April 2nd, 2009 02:11 AM
C# 2005 - windows service & timer implemetation n3xt C# 5 March 29th, 2008 08:01 AM
Hibernate help boddu.nageswar Hibernate 1 March 22nd, 2008 09:13 AM
Does Hibernate 3, support to multiple database ish Hibernate 0 October 25th, 2007 10:16 AM
oracle database trigger jlnashrod Oracle 1 October 3rd, 2007 12:41 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.