public Map < String , ColumnMetaData > createColumnToPropertyMappings ( final ResultSetMetaData rsmd ) throws SQLException { Map < String , ColumnMetaData > columnToPropertyMappings = ColumnMetaData . createMapByLabelOrName ( rsmd ) ; for ( ColumnMetaData cm : columnToPropertyMappings . values ( ) ) { // property name String propertyName = null ; propertyName = columnToPropertyOverrides . get ( cm . getLabelOrName ( ) ) ; if ( propertyName == null ) { propertyName = columnNameToPropertyName ( cm . getLabelOrName ( ) ) ; } cm . setPropertyName ( propertyName ) ; } return columnToPropertyMappings ; }
To determine the final column to property mappings .