Search in sources :

Example 1 with MetaHandlingEntityToMapMapper

use of org.dbflute.dbmeta.valuemap.MetaHandlingEntityToMapMapper in project dbflute-core by dbflute.

the class AbstractDBMeta method doConvertToColumnValueMap.

protected Map<String, Object> doConvertToColumnValueMap(Entity entity, boolean pkOnly) {
    final List<ColumnInfo> columnInfoList = pkOnly ? getPrimaryInfo().getPrimaryColumnList() : getColumnInfoList();
    final MetaHandlingEntityToMapMapper mapper = createMetaHandlingEntityToMapMapper(entity);
    return mapper.mappingToColumnValueMap(columnInfoList);
}
Also used : MetaHandlingEntityToMapMapper(org.dbflute.dbmeta.valuemap.MetaHandlingEntityToMapMapper) ColumnInfo(org.dbflute.dbmeta.info.ColumnInfo)

Aggregations

ColumnInfo (org.dbflute.dbmeta.info.ColumnInfo)1 MetaHandlingEntityToMapMapper (org.dbflute.dbmeta.valuemap.MetaHandlingEntityToMapMapper)1