I've moved on - using postgres, stock, in a new, clean 7.2.2 studio
script looks like this:
import groovy.sql.Sql;
def result=[];
Sql sql = BonitaSql.newInstance("jdbc:postgres://172.17.0.2:5432/HFDataProd", "bonita_db_user", "bpm", new org.postgresql.Driver());
....
Trying to do this as simply and straightforward, stock, out-of-the-box as possible.
Problem is: