if (dbix<=0)
{
log.error("Invalid column expression '{}'!", name);
return null; // not found
}
DBDatabase db = DBDatabase.findById(name.substring(0,dbix));
if (db==null)
{
log.error("Database '{}' not found!", name.substring(0,dbix));
return null; // not found
}
int co = name.lastIndexOf('.');
int to = name.lastIndexOf('.', co - 1);
String cn = name.substring(co + 1);
String tn = name.substring(to + 1, co);
DBRowSet rs = db.getRowSet(tn);
if (rs == null)
{
log.error("Table/View '{}' not found in database!", tn);
return null; // not found
}