}
public String[] getDBMetaData(){
try{
XElementAccess xDBElements = (XElementAccess) UnoRuntime.queryInterface(XElementAccess.class, xDatabaseContext);
if (xDBElements.hasElements()){
XTablesSupplier xDBTables = (XTablesSupplier) UnoRuntime.queryInterface(XTablesSupplier.class, DBConnection);
xDBMetaData = DBConnection.getMetaData();
// CurDBMetaData.bGroupByIsSupported = xDBMetaData.supportsGroupBy();
xTableNames = (XNameAccess) xDBTables.getTables();
TableNames = (String[]) xTableNames.getElementNames();