@Service public class SqlComponentDao extends Object
| Constructor and Description |
|---|
SqlComponentDao(SessionService sessionService,
DataSource dataSource,
org.springframework.orm.jpa.vendor.Database primaryDatabase) |
| Modifier and Type | Method and Description |
|---|---|
long |
count(BusinessComponent bc,
QueryParameters queryParameters) |
SqlComponentObject |
getOne(BusinessComponent bc,
QueryParameters queryParameters) |
io.tesler.api.data.ResultPage<SqlComponentObject> |
getPage(BusinessComponent bc,
QueryParameters queryParameters) |
@Autowired public SqlComponentDao(SessionService sessionService, @Qualifier(value="primaryDS") DataSource dataSource, @Qualifier(value="primaryDatabase") org.springframework.orm.jpa.vendor.Database primaryDatabase)
public io.tesler.api.data.ResultPage<SqlComponentObject> getPage(BusinessComponent bc, QueryParameters queryParameters)
public SqlComponentObject getOne(BusinessComponent bc, QueryParameters queryParameters)
public long count(BusinessComponent bc, QueryParameters queryParameters)
Copyright © 2018–2021 Tesler. All rights reserved.