PreparedStatementCreatorImpl null return fix

This commit is contained in:
Alex Shvid
2013-11-25 17:33:46 -08:00
parent 33c7e0d910
commit 0faa02568e

View File

@@ -47,7 +47,7 @@ public class PreparedStatementCreatorImpl implements PreparedStatementCreator, C
public BoundStatement bindValues(PreparedStatement ps) throws DriverException {
// Nothing to set if there are no values
if (values == null) {
return null;
return new BoundStatement(ps);
}
return ps.bind(values.toArray());