External Java Methods

Daffodil DB has in-built support for invoking external methods belonging to Java classes. It facilitates its users to write procedures in Java, and execute them with the help of database triggers.

External Java methods can simplify the process of writing complex business logics. Because the developers have a relative freedom that they no longer have to restrain themselves in the boundaries of procedural languages as they can be benefited by using the extensive capabilities of Java.

Used Parameter Types in External Java Methods

While using the external Java methods, we can pass certain information by the means of parameters to and from the procedures. When you define the parameter, you need to specify the way in which the parameter can be used. Three different types of parameters are:

  • IN parameter
  • OUT parameter
  • INOUT parameter