JDBCMetaDatabase query hacked. Temporary solution