|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.seasar.doma.DomaException
org.seasar.doma.jdbc.JdbcException
org.seasar.doma.jdbc.MappedPropertyNotFoundException
public class MappedPropertyNotFoundException
結果セットに含まれたカラムにマッピングされたプロパティが見つからない場合にスローされます。
| フィールドの概要 | |
|---|---|
protected String |
columnName
プロパティにマッピングされなかったカラム名 |
protected String |
entityClassName
マッピング対象のエンティティクラスの名前 |
protected String |
expectedPropertyName
マッピングを期待されるプロパティの名前 |
protected String |
formattedSql
フォーマット済みSQL、バッチ処理時にスローされた場合 null |
protected SqlKind |
kind
SQLの種別 |
protected String |
rawSql
未加工SQL |
protected String |
sqlFilePath
SQLファイルのパス |
| クラス org.seasar.doma.DomaException から継承されたフィールド |
|---|
args, messageResource |
| コンストラクタの概要 | |
|---|---|
MappedPropertyNotFoundException(ExceptionSqlLogType logType,
String columnName,
String expectedPropertyName,
String entityClassName,
SqlKind kind,
String rawSql,
String formattedSql,
String sqlFilePath)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
String |
getColumnName()
プロパティにマッピングされなかったカラム名を返します。 |
String |
getEntityClassName()
マッピング対象のエンティティクラスの名前を返します。 |
String |
getExpectedPropertyName()
マッピングを期待されるプロパティの名前を返します。 |
String |
getFormattedSql()
フォーマット済みSQLを返します。 |
SqlKind |
getKind()
SQLの種別を返します。 |
String |
getRawSql()
未加工SQLを返します。 |
String |
getSqlFilePath()
SQLファイルのパスを返します。 |
| クラス org.seasar.doma.jdbc.JdbcException から継承されたメソッド |
|---|
choiceSql |
| クラス org.seasar.doma.DomaException から継承されたメソッド |
|---|
getArgs, getMessageResource |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final String columnName
protected final String expectedPropertyName
protected final String entityClassName
protected final SqlKind kind
protected final String rawSql
protected final String formattedSql
null
protected final String sqlFilePath
| コンストラクタの詳細 |
|---|
public MappedPropertyNotFoundException(ExceptionSqlLogType logType,
String columnName,
String expectedPropertyName,
String entityClassName,
SqlKind kind,
String rawSql,
String formattedSql,
String sqlFilePath)
logType - ログタイプcolumnName - プロパティにマッピングされなかったカラム名expectedPropertyName - マッピングを期待されるプロパティの名前entityClassName - マッピング対象のエンティティクラスの名前kind - SQLの種別rawSql - 未加工SQLformattedSql - フォーマット済みSQLsqlFilePath - SQLファイルのパス| メソッドの詳細 |
|---|
public SqlKind getKind()
public String getEntityClassName()
public String getColumnName()
public String getExpectedPropertyName()
public String getRawSql()
public String getFormattedSql()
nullpublic String getSqlFilePath()
null
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||