Package com.randomnoun.common.spring


package com.randomnoun.common.spring
  • Class
    Description
    This class is intended to replace the standard RowMapper provided by Spring to allow CLOBs to be treated as String objects transparently (i.e. the Map which represents a row returned by this class will not contain any oracle.sql.CLOB objects).
    A JdbcTemplate that can take SqlWithArguments objects as parameters.
    This class is intended to replace the standard RowMapper provided by Spring to return a List of Long objects (rather than a List of Maps).
    A SelectFromResultSetExtractor is pretty much the same as a ResultSetExtractor, except it knows what columns and tables to query (i.e. the 'SELECT' and 'FROM' clauses of the SQL), so the caller only needs to supply WHERE and ORDER BY SQL clauses
    A SelectFromRowMapper is pretty much the same as a RowMapper, except it knows what columns and tables to query (i.e. the 'SELECT' and 'FROM' clauses of the SQL), so the caller only needs to supply WHERE and ORDER BY SQL clauses
    A ResultSetExtractor that uses a RowMapper to return a List of values from a ResultSet, but will not include nulls in the returned List.
    This class is intended to replace the standard RowMapper provided by Spring to return a List of String objects (rather than a List of Maps).
    This class returns structured object graphs composed of lists/maps.
    A bit like a StructuredListResultSetExtractor, but executes a callback on each object, rather than returning List of them.