Package org.cxbox.sqlbc.dao
Class SqlBcJdbcTemplate
java.lang.Object
org.cxbox.sqlbc.dao.SqlBcJdbcTemplate
-
Constructor Summary
ConstructorsConstructorDescriptionSqlBcJdbcTemplate(SessionService sessionService, DataSource dataSource, org.springframework.orm.jpa.vendor.Database primaryDatabase) -
Method Summary
Modifier and TypeMethodDescriptionlongcount(SqlBcDescription bcDescription, String parentId, QueryParameters queryParameters) <T> Tone(SqlBcDescription bcDescription, String id, String parentId, QueryParameters queryParameters, org.springframework.jdbc.core.RowMapper<T> rowMapper) <T> org.cxbox.api.data.ResultPage<T>page(SqlBcDescription bcDescription, String parentId, QueryParameters queryParameters, org.springframework.jdbc.core.RowMapper<T> rowMapper)
-
Constructor Details
-
SqlBcJdbcTemplate
public SqlBcJdbcTemplate(SessionService sessionService, DataSource dataSource, org.springframework.orm.jpa.vendor.Database primaryDatabase)
-
-
Method Details
-
page
public <T> org.cxbox.api.data.ResultPage<T> page(SqlBcDescription bcDescription, String parentId, QueryParameters queryParameters, org.springframework.jdbc.core.RowMapper<T> rowMapper) -
count
-
one
public <T> T one(SqlBcDescription bcDescription, String id, String parentId, QueryParameters queryParameters, org.springframework.jdbc.core.RowMapper<T> rowMapper)
-