mysql fix getDBObject