public class SQLStatement extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<Command> |
SQLCommands
The SQL commands.
|
protected List |
SQLParameters
The SQL parameters.
|
protected String |
SQLSentence
The SQL sentence obtained from the SQL template.
|
protected String |
SQLTemplate
The SQL template sentence.
|
| Constructor and Description |
|---|
SQLStatement(String sqlTemplate)
Initialize an SQL statement.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getFilterPropertyIds() |
PreparedStatement |
getPreparedStatement(Connection connection)
Get a JDBC prepared statement representing the SQL sentence.
|
List |
getSQLParameters() |
String |
getSQLSentence() |
String |
getSQLTemplate() |
int |
hashCode() |
protected String SQLTemplate
protected transient String SQLSentence
protected transient List SQLParameters
public String getSQLTemplate()
public String getSQLSentence()
public List getSQLParameters()
public PreparedStatement getPreparedStatement(Connection connection) throws SQLException
SQLExceptionCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.