Package helpers

Examples of helpers.TransactionCallback


    @Override
    public void doJob() {
        Logger.info("BEGIN JOB JobFetchRegisteredTicketingUser for all members");

        txTemplate.setReadOnly(true);
        final List<Long> memberIds = txTemplate.execute(new TransactionCallback() {
            public List<Long> doInTransaction() {
                return Member.findAllIds();
            }
        });
View Full Code Here


    @Override
    public void doJob() {       
        if (!"test".equals(Play.id)) {
            Logger.info("BEGIN fetch timelines");

            List<Long> accountsId = txTemplate.execute(new TransactionCallback() {
                public List<Long> doInTransaction() {
                    return Account.findAllIds();
                }
            });
View Full Code Here

        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();
                }
            });
           
View Full Code Here

TOP

Related Classes of helpers.TransactionCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.