• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can you invoke a Java class from a PL/SQL stored procedure?

 
SAFROLE YUTANI
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a stored procedure in Oracle that runs automatically at 2AM every night. If the procedure can determine a certain condition, then it must email someone and notify them. If I have a java class that provides features to send an email message, can I invoke the class from the stored procedure?
SAF
 
SAFROLE YUTANI
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jamie, that was a big help.
My other problem is trying to figure out how to pass an argument through PL/SQL to a Java class. I need to pass a String type, so it's primiive enough to not cause me so much headache, I hope!
Thanks again,
SAF
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!