インタフェース ColumnFieldMapper
- 既知の実装クラスのリスト:
DefaultColumnFieldMapper
public interface ColumnFieldMapper
A mapper from column to field name.
- 作成者:
- nkjm
-
メソッドの概要
修飾子とタイプメソッド説明createAccessors(Class<?> objectClass) Creates accessors by guessing column names from the object class forColumnsMappingcreateAccessors(Class<?> objectClass, List<String> columnNames) Creates accessors by guessing column names from the object class forTableMappingcreateAliasAccessors(String prefix, Map<String, Accessor> accessors) getAutoGeneratedColumns(DatabaseMetaData metaData, String tableName) Retrieves a list of auto-generated columns of the given table name from the database metadata.getColumnAliasPrefix(Class<?> objectClass) getColumns(DatabaseMetaData metaData, String tableName) Gets column names of the given table name of the database metadata.getPrimaryKeys(DatabaseMetaData metaData, String tableName) Retrieves a list of primary keys columns of the given table name from the database metadata.
-
メソッドの詳細
-
getAutoGeneratedColumns
List<ColumnName> getAutoGeneratedColumns(DatabaseMetaData metaData, String tableName) throws SQLException Retrieves a list of auto-generated columns of the given table name from the database metadata.- パラメータ:
metaData-tableName-- 戻り値:
- 例外:
SQLException
-
getColumns
List<ColumnNameWithMetaData> getColumns(DatabaseMetaData metaData, String tableName) throws SQLException Gets column names of the given table name of the database metadata.- パラメータ:
metaData-tableName-- 戻り値:
- 例外:
SQLException
-
getPrimaryKeys
Retrieves a list of primary keys columns of the given table name from the database metadata.- パラメータ:
metaData-tableName-- 戻り値:
- 例外:
SQLException
-
createAccessors
Creates accessors by guessing column names from the object class forTableMapping- パラメータ:
objectClass-columnNames-- 戻り値:
-
createAccessors
Creates accessors by guessing column names from the object class forColumnsMapping- パラメータ:
objectClass-- 戻り値:
-
getColumnAliasPrefix
-
createAliasAccessors
-