Decision Intelligence Platform

Rule DB – SQL Outside Rules

You always may invoke a decision model from a Java program that communicates with a database using SQL queries with the JDBC interface. The downloaded workspace “RuleDB” contains several examples of doing this in the project “SqlOutsideRules”. In particular, it includes the following Java program “TestInProcessOrders” that does the same what we did in our introductory example but without separating selection of records from a database and business logics. Here is its code: