added getTablePrefix method for db service, close #154