getCurrentConnection

execute

public final void execute(org.datanucleus.ClassLoaderResolver clr)

Executes the transaction.

A database connection is acquired and the
execute(ClassLoaderResolver)method is invoked.
If the selected isolation level is not Connection.TRANSACTION_NONE,
then commit() or rollback() is called on the connection according to
whether the invocation succeeded or not. If the invocation failed the
sequence is repeated, up to a maximum of maxRetries
times, configurable by the system property datanucleus.store.maxRetries.

Parameters:

clr - the ClassLoaderResolver

Throws:

org.datanucleus.exceptions.NucleusDataStoreException - If a SQL exception occurred even after "maxRetries" attempts.