Author
How to start a Trigger from a java Application
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
Hi
Please let me know if Is it possible to start a Trigger from a java / J2EE Application ??
Thanks in advance .
Save India From Corruption - Anna Hazare.
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
What sort of trigger? An SQL trigger?
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
sorry for providing insufficient details .
yes , its a SQL trigger
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35443
posted Mar 22, 2010 06:43:37
0
Depending on the what kind of trigger it is, an appropriate SQL operation should do the trick.
Android apps – ImageJ plugins – Java web charts
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
please provide any syntax of it .
I cant google as all the sites will be blocked in our office.
Thanks in advance.
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
Try this MySQL handbook and look for TRIGGER in its index.
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
Ravi Kiran V wrote: please provide any syntax of it .
I cant google as all the sites will be blocked in our office.
Thanks in advance.
What, you work blocks every single site except JavaRanch!? Well, I suppose we should be honoured. Campbell's suggestion is a good one: if you find out what a trigger is you should get your answer.
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
As i said , i cant google this thing as some sites have been blocked , so provide me the syntax of it .
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
The syntax will be in the MySQL handbook.
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
Ravi Kiran V wrote: As i said , i cant google this thing as some sites have been blocked , so provide me the syntax of it .
Which sites? All technical sites? Or google itself? If the former, google has a cache. If the later, there are other search engines.
Have you talked to your management about unblocking sites you need to do your job yet?
[Blog ] [JavaRanch FAQ ] [How To Ask Questions The Smart Way ] [Book Promos ]
Blogging on Certs: SCEA Part 1 , Part 2 & 3 , Core Spring 3 , OCAJP , OCPJP beta , TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
Ravi Kiran V wrote: please provide any syntax of it .
I cant google as all the sites will be blocked in our office.
Thanks in advance.
In that case, I highly recommend you download the manuals for all software you use so you can have it available on the job.
subject: How to start a Trigger from a java Application