This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic