/** * Set the mapping of a DB Column to a bean property. * <p> * For Unparsed SQL the columnMapping MUST be defined in the same order that * the columns appear in the SQL statement. * </p> * * @param dbColumn * the DB column that we are mapping to a bean property * @param propertyName * the bean property that we are mapping the DB column to. */ public RawSqlBuilder columnMapping(String dbColumn, String propertyName) { columnMapping.columnMapping(dbColumn, propertyName); return this; }
/** * Set the mapping of a DB Column to a bean property. * <p> * For Unparsed SQL the columnMapping MUST be defined in the same order that * the columns appear in the SQL statement. * </p> * * @param dbColumn the DB column that we are mapping to a bean property * @param propertyName the bean property that we are mapping the DB column to. */ public RawSqlBuilder columnMapping(String dbColumn, String propertyName) { columnMapping.columnMapping(dbColumn, propertyName); return this; }
/** * Set the mapping of a DB Column to a bean property. * <p> * For Unparsed SQL the columnMapping MUST be defined in the same order that * the columns appear in the SQL statement. * </p> * * @param dbColumn * the DB column that we are mapping to a bean property * @param propertyName * the bean property that we are mapping the DB column to. */ public RawSqlBuilder columnMapping(String dbColumn, String propertyName) { columnMapping.columnMapping(dbColumn, propertyName); return this; }