New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stored Procedures, Triggers and Functions in Java [CORE816] #1202
Comments
Commented by: Alice F. Bird (firebirds) Date: 2005-05-30 16:50 Already prototyped, although a bit differently. |
Commented by: Roman Rokytskyy (rrokytskyy) There will be a general Java support in next major version of Firebird. Currently the code is used in Fyracle, but it will be refactored before committing to the main tree. Firebird will support both UDFs and stored procedures written at least in Java, but since the framework is open, other implementations like C# and Delphi will be possible (former is also available in Fyracle). The Java part will support the de-facto standard SQLJ Level 1. This gives a possibility to call any public static Java method from within SQL, pass parameters and return values back. It is also possible to perform loopback connection within the Java method using "jdbc:default:connection" URL. As an extension we will support selectable stored procedures that will return java.sql.ResultSet implementation. |
Modified by: @pcisarWorkflow: jira [ 10840 ] => Firebird [ 15280 ] |
Modified by: @dyemanovassignee: Roman Rokytskyy [ rrokytskyy ] => Adriano dos Santos Fernandes [ asfernandes ] |
Commented by: Ivan (patuljak) if UDF writing in Java or C# (in language which is on virtual machine) then query with this UDF is slower. |
Modified by: @asfernandessummary: UDF in Java => Stored Procedures, Triggers and Functions in Java |
Submitted by: fpeinado (fpeinado)
Is related to QA624
Votes: 9
SFID: 912251#
Submitted By: fpeinado
I want suggest you to be able to create UDF that points
to a JavaBean Class.
A JavaBean Class is a Java class that points to it??s
properties as funcions of type get / set (Getter??s and
Setter??s) for sample:
public class TestUDF {
private int code;
private String description;
}
The UDF of JavaBean above can be:
TestUDF_doSomeThing( CString Arg1, INTEGER Arg2 );
The text was updated successfully, but these errors were encountered: