setOptimistic(optimistic) - JDO Transaction's method
Method 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