danielm
06/02/2018, 9:45 AMopen fun prepared(transaction: Transaction, sql: String) : PreparedStatement = transaction.connection.prepareStatement(sql, PreparedStatement.NO_GENERATED_KEYS)!!
(in Statement.kt) goes to the method
public PreparedStatement prepareStatement(String var1, int var2) throws SQLException {
return null;
}
(in FBJConnection) returning null. The additional parameters of prepareStatement(sql, var1, ...) might be for resultSetType and resultSetConcurrency.
Using ... = transaction.connection.prepareStatement(sql)!!
does work.
What is the best/cleanest way to handle this problem?
TIA