File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
samples/snippets/src/main/java/com/example/spanner/admin/archived Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ static void writeWithTransactionUsingDml(DatabaseClient dbClient) {
632632 Statement updateStatement =
633633 Statement .newBuilder (
634634 "UPDATE Albums "
635- + "SET MarketingBudget = $1"
635+ + "SET MarketingBudget = $1 "
636636 + "WHERE SingerId = 1 and AlbumId = 1" )
637637 .bind ("p1" )
638638 .to (album1Budget )
@@ -641,7 +641,7 @@ static void writeWithTransactionUsingDml(DatabaseClient dbClient) {
641641 Statement updateStatement2 =
642642 Statement .newBuilder (
643643 "UPDATE Albums "
644- + "SET MarketingBudget = $1"
644+ + "SET MarketingBudget = $1 "
645645 + "WHERE SingerId = 2 and AlbumId = 2" )
646646 .bind ("p1" )
647647 .to (album2Budget )
You can’t perform that action at this time.
0 commit comments