GenericJdbcRepository(DataSource dataSource,
ComplexTableDescription tableDescription,
org.springframework.jdbc.core.RowMapper<T> rowMapper)
Creates a new repository instance using the default constructor, but with a MissingRowUnmapper
to enforce read-only functionality.
|
GenericJdbcRepository(DataSource dataSource,
ComplexTableDescription tableDescription,
org.springframework.jdbc.core.RowMapper<T> rowMapper,
com.nurkiewicz.jdbcrepository.RowUnmapper<T> rowUnmapper)
Creates a new repository instance using a DataSource to generate a new
JdbcTemplate, a ComplexTableDescription
used to create a SqlBuilder for
query generation, a RowMapper for mapping database records
to Model objects, and a RowUnmapper
for mapping model objects back to database records.
|
GenericJdbcRepository(DataSource dataSource,
ComplexTableDescription tableDescription,
org.springframework.jdbc.core.RowMapper<T> rowMapper,
com.nurkiewicz.jdbcrepository.RowUnmapper<T> rowUnmapper,
Class<T> model) |