Task: Updated the execute result with count for generic type with row mapper provider and updated the jdbc data factory in cubetiq sql core
This commit is contained in:
parent
b25b614c59
commit
b3aab2e4ef
@ -77,27 +77,27 @@ public final class JdbcDataFactory {
|
|||||||
return queryManager.query(parameter, mapper);
|
return queryManager.query(parameter, mapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IExecuteResultWithCount<?> queryOf(String sql) {
|
public IExecuteResultWithCount<List<Object>> queryOf(String sql) {
|
||||||
return queryManager.queryOf(sql);
|
return queryManager.queryOf(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IExecuteResultWithCount<?> queryOf(String sql, Object... args) {
|
public IExecuteResultWithCount<List<Object>> queryOf(String sql, Object... args) {
|
||||||
return queryManager.queryOf(sql, args);
|
return queryManager.queryOf(sql, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IExecuteResultWithCount<?> queryOf(String sql, RowMapperProvider<?> mapper) {
|
public <R> IExecuteResultWithCount<List<R>> queryOf(String sql, RowMapperProvider<R> mapper) {
|
||||||
return queryManager.queryOf(sql, mapper);
|
return queryManager.queryOf(sql, mapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IExecuteResultWithCount<?> queryOf(String sql, RowMapperProvider<?> mapper, Object... args) {
|
public <R> IExecuteResultWithCount<List<R>> queryOf(String sql, RowMapperProvider<R> mapper, Object... args) {
|
||||||
return queryManager.queryOf(sql, mapper, args);
|
return queryManager.queryOf(sql, mapper, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IExecuteResultWithCount<?> queryOf(ISqlMapParameter parameter) {
|
public IExecuteResultWithCount<List<Object>> queryOf(ISqlMapParameter parameter) {
|
||||||
return queryManager.queryOf(parameter);
|
return queryManager.queryOf(parameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IExecuteResultWithCount<?> queryOf(ISqlMapParameter parameter, RowMapperProvider<?> mapper) {
|
public <R> IExecuteResultWithCount<List<R>> queryOf(ISqlMapParameter parameter, RowMapperProvider<R> mapper) {
|
||||||
return queryManager.queryOf(parameter, mapper);
|
return queryManager.queryOf(parameter, mapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user