public class UnsupportedQueryPreparer<T> extends Object implements QueryPreparer<T>
| Constructor and Description |
|---|
UnsupportedQueryPreparer(String message) |
| Modifier and Type | Method and Description |
|---|---|
org.simpleflatmapper.map.FieldMapper<T,PreparedStatement> |
mapper()
Will create a PreparedStatement mapper on the query.
|
QueryBinder<T> |
prepare(Connection connection)
Create a new QueryBinder based on the underlying query.
|
PreparedStatement |
prepareStatement(Connection connection)
Will create a PreparedStatement based on the query.
|
String |
toRewrittenSqlQuery(T value) |
public UnsupportedQueryPreparer(String message)
public QueryBinder<T> prepare(Connection connection) throws SQLException
QueryPreparerprepare in interface QueryPreparer<T>connection - the connectionSQLException - if an sql error occurspublic PreparedStatement prepareStatement(Connection connection) throws SQLException
QueryPreparerprepareStatement in interface QueryPreparer<T>connection - the connectionSQLException - if an error occurspublic org.simpleflatmapper.map.FieldMapper<T,PreparedStatement> mapper()
QueryPreparermapper in interface QueryPreparer<T>public String toRewrittenSqlQuery(T value)
toRewrittenSqlQuery in interface QueryPreparer<T>Copyright © 2020. All rights reserved.