33 words

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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.