• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to start a Trigger from a java Application

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Please let me know if Is it possible to start a Trigger from a java / J2EE Application ??

Thanks in advance .
 
Campbell Ritchie
Sheriff
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What sort of trigger? An SQL trigger?
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for providing insufficient details .

yes , its a SQL trigger
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending on the what kind of trigger it is, an appropriate SQL operation should do the trick.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this MySQL handbook and look for TRIGGER in its index.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As i said , i cant google this thing as some sites have been blocked , so provide me the syntax of it .
 
Campbell Ritchie
Sheriff
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The syntax will be in the MySQL handbook.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34656
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34656
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic