Examples of afterUpdate()


Examples of com.discursive.dao.generic.LifecycleCallbacks.afterUpdate()

            returnObject = methodInvocation.proceed();

            if( object instanceof LifecycleCallbacks ) {
                LifecycleCallbacks lifecycle = (LifecycleCallbacks) object;
                if( lifecycle.getId() != null ) {
                    lifecycle.afterUpdate();
                } else {
                    lifecycle.afterCreate();
                }
                lifecycle.afterSave();
            } else {
View Full Code Here

Examples of org.hibernate.cache.spi.access.NaturalIdRegionAccessStrategy.afterUpdate()

          ( (EventSource) this.session ).getActionQueue().registerProcess(
              new AfterTransactionCompletionProcess() {
                @Override
                public void doAfterTransactionCompletion(boolean success, SessionImplementor session) {
                  final boolean put = naturalIdCacheAccessStrategy.afterUpdate( naturalIdCacheKey, pk, lock );

                  if ( put && factory.getStatistics().isStatisticsEnabled() ) {
                    factory.getStatisticsImplementor().naturalIdCachePut(
                        naturalIdCacheAccessStrategy.getRegion().getName() );
                  }
View Full Code Here

Examples of org.hibernate.cache.spi.access.NaturalIdRegionAccessStrategy.afterUpdate()

          ( (EventSource) session() ).getActionQueue().registerProcess(
              new AfterTransactionCompletionProcess() {
                @Override
                public void doAfterTransactionCompletion(boolean success, SessionImplementor session) {
                  final boolean put = naturalIdCacheAccessStrategy.afterUpdate( naturalIdCacheKey, pk, lock );

                  if ( put && justAddedToLocalCache && factory.getStatistics().isStatisticsEnabled() ) {
                    factory.getStatisticsImplementor().naturalIdCachePut(
                        naturalIdCacheAccessStrategy.getRegion().getName() );
                  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.