public class NonUniqueResultException extends JdbcException
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
formattedSql |
protected SqlKind |
kind |
protected java.lang.String |
rawSql |
protected java.lang.String |
sqlFilePath |
args, messageResource
Constructor and Description |
---|
NonUniqueResultException(SqlLogType logType,
Sql<?> sql) |
NonUniqueResultException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormattedSql()
Returns the formatted SQL string.
|
SqlKind |
getKind()
Returns the SQL kind.
|
java.lang.String |
getRawSql()
Returns the raw SQL string.
|
java.lang.String |
getSqlFilePath()
Returns the SQL file path
|
choiceSql
getArgs, getMessageResource
protected final SqlKind kind
protected final java.lang.String rawSql
protected final java.lang.String formattedSql
protected final java.lang.String sqlFilePath
public NonUniqueResultException(SqlLogType logType, Sql<?> sql)
public NonUniqueResultException(SqlLogType logType, SqlKind kind, java.lang.String rawSql, java.lang.String formattedSql, java.lang.String sqlFilePath)
public SqlKind getKind()
public java.lang.String getRawSql()
public java.lang.String getFormattedSql()
public java.lang.String getSqlFilePath()
null
if the SQL is auto generated