Directly from this API:
Savepoint setSavepoint(String name) throws SQLException
Creates a savepoint with the given name in the current transaction and returns the >new Savepoint object that represents it.
if
setSavepoint
is invoked outside of an active transaction, a transaction will be started at this newly created savepoint.
It's not clear to me the last part:
"if setSavepoint is invoked outside of an active transaction, a transaction will be started at this newly created savepoint"?
Outside an active transaction? what do they mean by that?