com.vladsch.kotlin.jdbc.Transaction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-jdbc Show documentation
Show all versions of kotlin-jdbc Show documentation
A thin library that exposes JDBC API with the convenience of Kotlin and gets out of the way when not needed.
The newest version!
package com.vladsch.kotlin.jdbc
import java.sql.Savepoint
interface Transaction: Session {
fun commit()
fun begin()
fun rollback()
fun setSavepoint(): Savepoint
fun setSavepoint(name: String): Savepoint
fun rollback(savepoint: Savepoint)
fun releaseSavepoint(savepoint: Savepoint)
}