public final class SqlBcJdbcTemplate extends Object
| Constructor and Description |
|---|
SqlBcJdbcTemplate(SessionService sessionService,
DataSource dataSource,
org.springframework.orm.jpa.vendor.Database primaryDatabase) |
| Modifier and Type | Method and Description |
|---|---|
long |
count(SqlBcDescription bcDescription,
String parentId,
QueryParameters queryParameters) |
<T> T |
one(SqlBcDescription bcDescription,
String id,
String parentId,
QueryParameters queryParameters,
org.springframework.jdbc.core.RowMapper<T> rowMapper) |
<T> io.tesler.api.data.ResultPage<T> |
page(SqlBcDescription bcDescription,
String parentId,
QueryParameters queryParameters,
org.springframework.jdbc.core.RowMapper<T> rowMapper) |
public SqlBcJdbcTemplate(SessionService sessionService, @Qualifier(value="primaryDS") DataSource dataSource, @Qualifier(value="primaryDatabase") org.springframework.orm.jpa.vendor.Database primaryDatabase)
public <T> io.tesler.api.data.ResultPage<T> page(SqlBcDescription bcDescription, String parentId, QueryParameters queryParameters, org.springframework.jdbc.core.RowMapper<T> rowMapper)
public long count(SqlBcDescription bcDescription, String parentId, QueryParameters queryParameters)
public <T> T one(SqlBcDescription bcDescription, String id, String parentId, QueryParameters queryParameters, org.springframework.jdbc.core.RowMapper<T> rowMapper)
Copyright © 2018–2021 Tesler. All rights reserved.