File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes jdbc-trigger creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "jdbc-trigger creation" Watch "jdbc-trigger creation" New topic

jdbc-trigger creation

anish reddy
Ranch Hand

Joined: Apr 19, 2008
Posts: 74
example program to create a trigger from jdbc program.
can i invoke trigger from jdbc program.
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 445


Got this defenition from Wikipedia:-

A database trigger is procedural code that is automatically executed in response to certain events on a particular table in a database. Triggers can restrict access to specific data, perform logging, or audit data modifications.

It clearly states that triggers are setup on the database to perform certain steps when a particular event occurs on the database. A trigger can be executed on the database if a JDBC program performs any action that has been declared to 'trigger' it.

Does this answer your doubt?

I agree. Here's the link:
subject: jdbc-trigger creation
It's not a secret anymore!