Package org.datanucleus.exceptions

Examples of org.datanucleus.exceptions.NucleusOptimisticException


    return ((MappedStoreManager)sm.getObjectManager().getStoreManager()).getIdentifierFactory();
  }

  private NucleusOptimisticException newNucleusOptimisticException(
      AbstractClassMetaData cmd, Entity entity, String op, String details) {
    return new NucleusOptimisticException(
        "Optimistic concurrency exception " + op + " " + cmd.getFullClassName()
            + " with pk " + entity.getKey() + ".  " + details);
  }
View Full Code Here


                    tx.flush();
                }
                if (optimisticFailures != null)
                {
                    // Throw a single NucleusOptimisticException containing all optimistic failures
                    throw new NucleusOptimisticException(LOCALISER.msg("010031"),
                        (Throwable[])optimisticFailures.toArray(new Throwable[optimisticFailures.size()]));
                }
            }
            finally
            {
View Full Code Here

TOP

Related Classes of org.datanucleus.exceptions.NucleusOptimisticException

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.