You have to check first that something like : "INSERT INTO BLAH ('aaa',1,true) works, i.e work with Statement.
Because if it does rely on PreparedStatement when you execute something your statement looks like "INSERT INTO BLAH (?,?,?)" then the proprietary driver takes care of marshalling the types when it talks to the database.
LDBC could be used only to create portable CREATE TABLE/DROP TABLE statements. Perhaps it could work for Statement.
Grab jboss source and check out other loadbalancepolicy implementations: e.g.,
Object node = iter.next();
JRMPInvoker_Stub jis = ((JRMPInvoker_Stub) node);