use of org.jkiss.dbeaver.ext.db2.info.DB2XMLString in project dbeaver by serge-rider.
the class DB2Utils method readXMLStrings.
public static List<DB2XMLString> readXMLStrings(DBRProgressMonitor monitor, JDBCSession session) throws SQLException {
LOG.debug("readXMLStrings");
List<DB2XMLString> listXMLStrings = new ArrayList<>();
try (JDBCPreparedStatement dbStat = session.prepareStatement(SEL_XMLSTRINGS)) {
try (JDBCResultSet dbResult = dbStat.executeQuery()) {
while (dbResult.next()) {
listXMLStrings.add(new DB2XMLString((DB2DataSource) session.getDataSource(), dbResult));
}
}
}
return listXMLStrings;
}
Aggregations