Windows machine with java
also a Unix VM with scala
Running the following code...
String myprepsql = "select k,s from ajp::temp::ds persons where k >= ? and k <= ?";
HPCCPreparedStatement prepstmt = (HPCCPreparedStatement)connection.prepareStatement(myprepsql);
HPCCResultSet qrs = (HPCCResultSet) ((HPCCPreparedStatement) prepstmt).executeQuery();
The following exception is presented...
java.sql.SQLException: java.lang.Long cannot be cast to java.lang.String
When looking at HPCCPreparedStatement, it looks like it tries to cast every parameter into a String.