Polishing

This commit is contained in:
Juergen Hoeller
2017-07-20 00:14:56 +02:00
parent 378c72e9b6
commit 6d6d772f31
5 changed files with 8 additions and 16 deletions

View File

@@ -81,12 +81,10 @@ public abstract class AbstractJdbcInsert {
private volatile boolean compiled = false;
/** The generated string used for insert statement */
@Nullable
private String insertString;
private String insertString = "";
/** The SQL type information for the insert columns */
@Nullable
private int[] insertTypes;
private int[] insertTypes = new int[0];
/**
@@ -224,7 +222,6 @@ public abstract class AbstractJdbcInsert {
/**
* Get the insert string to be used.
*/
@Nullable
public String getInsertString() {
return this.insertString;
}
@@ -232,7 +229,6 @@ public abstract class AbstractJdbcInsert {
/**
* Get the array of {@link java.sql.Types} to be used for insert.
*/
@Nullable
public int[] getInsertTypes() {
return this.insertTypes;
}