aspose file tools*
The moose likes JDBC and the fly likes How to start a Trigger from a java Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to start a Trigger from a java Application" Watch "How to start a Trigger from a java Application" New topic
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: 38793
    
  23
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: 41830
    
  63
Depending on the what kind of trigger it is, an appropriate SQL operation should do the trick.


Ping & DNS - my free Android networking tools app
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: 38793
    
  23
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: 38793
    
  23
The syntax will be in the MySQL handbook.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30516
    
150

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: 30516
    
150

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to start a Trigger from a java Application