Mercurial > hg > monetdb-java
diff src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java @ 708:5022a57f9d97
Resolve javadoc errors.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 15 Dec 2022 15:45:32 +0100 (2022-12-15) |
parents | 07d60185eeb9 |
children | bdeabbd46ec6 |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java +++ b/src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java @@ -2917,6 +2917,7 @@ public class MonetPreparedStatement paramValues[parameterIndex] = "NULL"; } + private StringBuilder execStmt; // created once, re-used multiple times so much less objects are created and gc-ed /** * Constructs an "exec ##(paramval, ...)" statement string for the current parameter values. * Mind that the JDBC specs allow 'reuse' of a value for a parameter over multiple executes. @@ -2924,7 +2925,6 @@ public class MonetPreparedStatement * @return the "exec ##(...)" string * @throws SQLException if not all parameters are set with a value */ - private StringBuilder execStmt; // created once, re-used multiple times so much less objects are created and gc-ed private final String transform() throws SQLException { if (execStmt == null) // first time use, create it once