public class StatementHelper extends Object implements Serializable
| Constructor and Description |
|---|
StatementHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameterValue(Object parameter) |
void |
addParameterValue(Object parameter,
Class<?> type) |
String |
getQueryString() |
protected boolean |
handleUnrecognizedTypeNullValue(int i,
PreparedStatement pstmt,
Map<Integer,Class<?>> dataTypes)
Handle unrecognized null values.
|
void |
setParameterValuesToStatement(PreparedStatement pstmt) |
void |
setQueryString(String queryString) |
public void setQueryString(String queryString)
public String getQueryString()
public void addParameterValue(Object parameter)
public void setParameterValuesToStatement(PreparedStatement pstmt) throws SQLException
SQLExceptionprotected boolean handleUnrecognizedTypeNullValue(int i,
PreparedStatement pstmt,
Map<Integer,Class<?>> dataTypes)
throws SQLException
StatementHelper.i - pstmt - dataTypes2 - SQLExceptionhttp://dev.vaadin.com/ticket/9148}Copyright © 2019 Vaadin Ltd. All rights reserved.