Interface Dialect
- All Known Implementing Classes:
AnsiDialect, DB2Dialect, H2Dialect, MariaDbDialect, MySqlDialect, OracleDialect, PostgresDialect, SQLServerDialect
public interface Dialect
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stringdefault booleanlimit()default Stringdefault voidsetBoolean(PreparedStatement ps, int i, String paramName, boolean boolValue) default voidsetDouble(PreparedStatement ps, int i, String paramName, Double doubleValue) default voidsetDuration(PreparedStatement ps, int i, String paramName, Duration duration) default voidsetEnum(PreparedStatement ps, int i, String paramName, Enum<?> enumValue) default voidsetInt(PreparedStatement ps, int i, String paramName, Integer intValue) default voidsetLong(PreparedStatement ps, int i, String paramName, Long longValue) default voidsetNull(PreparedStatement ps, int i, String paramName) default voidsetParam(PreparedStatement ps, int i, String paramName, Object o) default voidsetString(PreparedStatement ps, int i, String paramName, String stringValue) default voidsetTimestamp(PreparedStatement ps, int i, String paramName, Instant instant) default voidsetUUID(PreparedStatement ps, int i, String paramName, UUID uuidValue)
-
Method Details
-
limit
String limit() -
limitAndOffset
String limitAndOffset() -
selectForUpdateSkipLocked
-
escape
-
setParam
- Throws:
SQLException
-
setString
default void setString(PreparedStatement ps, int i, String paramName, String stringValue) throws SQLException - Throws:
SQLException
-
setUUID
default void setUUID(PreparedStatement ps, int i, String paramName, UUID uuidValue) throws SQLException - Throws:
SQLException
-
setInt
default void setInt(PreparedStatement ps, int i, String paramName, Integer intValue) throws SQLException - Throws:
SQLException
-
setLong
default void setLong(PreparedStatement ps, int i, String paramName, Long longValue) throws SQLException - Throws:
SQLException
-
setDouble
default void setDouble(PreparedStatement ps, int i, String paramName, Double doubleValue) throws SQLException - Throws:
SQLException
-
setBoolean
default void setBoolean(PreparedStatement ps, int i, String paramName, boolean boolValue) throws SQLException - Throws:
SQLException
-
setTimestamp
default void setTimestamp(PreparedStatement ps, int i, String paramName, Instant instant) throws SQLException - Throws:
SQLException
-
setDuration
default void setDuration(PreparedStatement ps, int i, String paramName, Duration duration) throws SQLException - Throws:
SQLException
-
setEnum
default void setEnum(PreparedStatement ps, int i, String paramName, Enum<?> enumValue) throws SQLException - Throws:
SQLException
-
setNull
- Throws:
SQLException
-
isUniqueConstraintException
-