public class PrepareStatementCommand extends CommandBase<PreparedStatement>
handler| Constructor and Description |
|---|
PrepareStatementCommand(String sql,
boolean cacheable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cacheable()
Indicate whether the prepared statement will be cached or not.
|
String |
sql() |
failpublic PrepareStatementCommand(String sql, boolean cacheable)
public String sql()
public boolean cacheable()
SqlConnection.prepare(String, Handler)
since the lifecycle of those statements should not be managed by this client.Copyright © 2020. All rights reserved.