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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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