public class NoQuirks extends Object implements Quirks
Modifier and Type | Field and Description |
---|---|
protected Map<Class,Converter> |
converters |
Constructor and Description |
---|
NoQuirks() |
NoQuirks(Map<Class,Converter> converters) |
public <E> Converter<E> converterOf(Class<E> ofClass)
converterOf
in interface Quirks
public String getColumnName(ResultSetMetaData meta, int colIdx) throws SQLException
getColumnName
in interface Quirks
colIdx
for result set meta
SQLException
public boolean returnGeneratedKeysByDefault()
returnGeneratedKeysByDefault
in interface Quirks
public void setParameter(PreparedStatement statement, int paramIdx, Object value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, InputStream value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, int value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, Integer value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, long value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, Long value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, String value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, Timestamp value) throws SQLException
setParameter
in interface Quirks
SQLException
public void setParameter(PreparedStatement statement, int paramIdx, Time value) throws SQLException
setParameter
in interface Quirks
SQLException
public Object getRSVal(ResultSet rs, int idx) throws SQLException
getRSVal
in interface Quirks
SQLException
public void closeStatement(Statement statement) throws SQLException
closeStatement
in interface Quirks
SQLException
public SqlParameterParsingStrategy getSqlParameterParsingStrategy()
getSqlParameterParsingStrategy
in interface Quirks
Copyright © 2015. All rights reserved.