Package com.amazon.rdsdata.client
Class RdsDataClient
java.lang.Object
com.amazon.rdsdata.client.RdsDataClient
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionStarts a new transactionbuilder()voidcommitTransaction(String transactionId) Commits the given transactionCreates anExecutorfor the given SQLCreates anExecutorfor the given SQL with parameters.voidrollbackTransaction(String transactionId) Rolls back the given transactionwithMappingOptions(MappingOptions mappingOptions)
-
Method Details
-
beginTransaction
Starts a new transaction- Returns:
- transaction ID
-
commitTransaction
Commits the given transaction- Parameters:
transactionId- transaction ID
-
rollbackTransaction
Rolls back the given transaction- Parameters:
transactionId- transaction ID
-
forSql
Creates anExecutorfor the given SQL -
forSql
Creates anExecutorfor the given SQL with parameters. For each parameter, the SQL statement must contain a placeholder "?" -
builder
-
withMappingOptions
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-