Class SpannerTransactionManager.Tx

java.lang.Object
com.google.cloud.spring.data.spanner.core.SpannerTransactionManager.Tx
Enclosing class:
SpannerTransactionManager

public static class SpannerTransactionManager.Tx extends Object
A transaction object that holds the transaction context.
  • Constructor Details

    • Tx

      public Tx(com.google.cloud.spanner.DatabaseClient databaseClient)
  • Method Details

    • getTransactionContext

      public com.google.cloud.spanner.TransactionContext getTransactionContext()
    • getTransactionManager

      public com.google.cloud.spanner.TransactionManager getTransactionManager()
    • isReadOnly

      public boolean isReadOnly()
    • getDatabaseClient

      public com.google.cloud.spanner.DatabaseClient getDatabaseClient()