Home » Search

About time

81-90 of 200Refresh
Forum
2

Performance in large transactions

may have to be applied each time again and again, in order to check their up to date validity and integrate ... ();   System.out.println("test_OneTransaction  create time: "     + (System.currentTimeMillis() - startTime ... ();   }   System.out.println("test_ManyTransactions  create time: "     + (System.currentTimeMillis() - startTime
Issue
2

Best practise loading big data

of different Db files at the same time, each with own entitiy manager and open transaction holding ... of WeakReference objects) grows and grows within this transaction, even if at some time the GC collects ... . One could expect that the could be reused if their referenced objects are freed or that from time
JDO Doc
1

addInstanceLifecycleListener(listener, classes)

is configurable (before the first time getPersistenceManager is called). The classes parameter identifies
JPA Doc
1

addTransformer(transformer)

transformer that the container invokes at class-(re)definition time Since: JPA 1.0
JPA Doc
1

createEntityManager()

Method javax.persistence.EntityManagerFactory EntityManager createEntityManager() Create a new application-managed EntityManager. This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance. Returns: entity manager instance
JPA Doc
1

createEntityManager(map)

Method javax.persistence.EntityManagerFactory EntityManager createEntityManager(   Map map ) Create a new application-managed EntityManager with the specified Map of properties. This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true
JPA Doc
1

FlushModeType.COMMIT

Enum Constant javax.persistence.FlushModeType COMMIT Flushing to occur at transaction commit. The provider may flush at other times, but is not required to. Since: JPA 1.0
JDO Doc
1

getObjectById(oid, validate)

a JDOObjectNotFoundException if the instance does not exist at that time. Further, if a relationship
JDO Doc
1

getOptimistic()

Method javax.jdo.Transaction boolean getOptimistic() Optimistic transactions do not hold data store locks until commit time. Returns: the value of the Optimistic property. Since: JDO 1.0
JDO Doc
1

getRetainValues()

Method javax.jdo.Transaction boolean getRetainValues() If true, at commit time instances retain their field values. Returns: the value of the retainValues property Since: JDO 1.0