@Override
public void doJob() {
if (!"test".equals(Play.id)) {
final BadgeComputationContext context = new BadgeComputationContext();
// Retrieving uncomputedIds activities
List<Long> uncomputedActivityIds = txTemplate.execute(new TransactionCallback() {
public List<Long> doInTransaction() {
return Activity.uncomputedIds();