Re: I can run a function created in java from a procedure or trigger in mysql
Posted by: Todd Farmer
Date: March 02, 2015 09:42AM

Hello Milton,

MySQL Server does not support stored programs (routines, triggers) in Java (or other languages other than PL/SQL). There are some really ancient (likely no longer applicable) projects which sought to add support for Java in various forms, but I can't really recommend any. MySQL has support for UDFs (user-defined functions), which you could write as JNI code to Java. But that's ugly.

Hope that helps.

--
Todd Farmer
MySQL @ Oracle
http://www.oracle.com/mysql/

Options: ReplyQuote


Subject
Written By
Posted
Re: I can run a function created in java from a procedure or trigger in mysql
March 02, 2015 09:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.