mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
Bindings
This commit is contained in:
+7
-1
@@ -515,7 +515,6 @@ public class WebSQLProcessor {
|
||||
|
||||
@Override
|
||||
public void fetchEnd(DBCSession session, DBCResultSet resultSet) throws DBCException {
|
||||
webResultSet.setRows(rows.toArray(new Object[0][]));
|
||||
|
||||
DBSEntity entity = dataContainer instanceof DBSEntity ? (DBSEntity) dataContainer : null;
|
||||
|
||||
@@ -525,12 +524,19 @@ public class WebSQLProcessor {
|
||||
log.error("Error binding attributes", e);
|
||||
}
|
||||
|
||||
convertComplexValuesToRelationalView();
|
||||
|
||||
webResultSet.setColumns(bindings);
|
||||
webResultSet.setRows(rows.toArray(new Object[0][]));
|
||||
|
||||
WebSQLResultsInfo resultsInfo = contextInfo.saveResult(dataContainer, bindings);
|
||||
webResultSet.setResultsInfo(resultsInfo);
|
||||
}
|
||||
|
||||
private void convertComplexValuesToRelationalView() {
|
||||
// Here we get leaf attributes and refetch them into plain tabl structure
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
rows.clear();
|
||||
|
||||
Reference in New Issue
Block a user