Class DefaultSqlRow

  • All Implemented Interfaces:
    SqlRow, Serializable, Map<String,​Object>

    public class DefaultSqlRow
    extends Object
    implements SqlRow
    Used to return raw SQL query results.

    Refer to SqlQuery for examples.

    There are convenience methods such as getInteger(), getBigDecimal() etc. The reason for these methods is that the values put into this map often come straight from the JDBC resultSet. Depending on the JDBC driver it may put a different type into a given property. For example an Integer, BigDecimal, Double could all be put into a property depending on the JDBC driver used. These convenience methods automatically convert the value as required returning the type you expect.

    See Also:
    Serialized Form