setSuccessful

abstract fun setSuccessful()

Sets the transaction as successful. If not called, the transaction will be rolled back when end is called.