Traditional integration
Keep database access in the Java caller.
A Java program can invoke a decision model while communicating with a database through JDBC.
The standard Rule DB workspace includes SqlOutsideRules. Its TestInProcessOrders program performs the same task as the introductory Rule DB example, but it does not separate record selection from business logic.

