JDO Method
in javax.jdo.Transaction

void setOptimistic(
  boolean optimistic
)


Optimistic transactions do not hold data store locks until commit time. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown.
Parameters:
optimistic - the value of the Optimistic flag.
Since:
JDO 1.0