Jump to content
Sign in to follow this  
rogermax

Call a Script via JDBC

Recommended Posts

In FM5 through 6 it was possible to call a script using JDBC with syntax like --

{CALL script_name(db_name)}

Can this still be done with FM8.5, and if so can we pass script parameters with it? I haven't found it in the documentation I have.

tx.

Share this post


Link to post
Share on other sites

No, you cannot execute script via JDBC (or ODBC) with FM 7 or later.

FYI, FM PHP API seems to have a way to do this.

Share this post


Link to post
Share on other sites

You can use the WooF JDBC driver (https://woof.dev.java.net) to call scripts as stored procedures. The driver is open source, and was written as a replacement for the JDBC driver that ships with FM 5.5 - 8.5.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.