Skip to content

Commit

Permalink
Merge remote branch 'fork/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Jan 19, 2015
2 parents fca1a5c + 2ad5ab0 commit 6df9b3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/site/apt/example-transaction.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ public class Main {
new JdbcSession(source)
.autocommit(false)
.sql("START TRANSACTION")
.update()
.execute()
.sql("DELETE FROM employee WHERE name = ?")
.set("Jeff Lebowski")
.update()
.execute()
.sql("INSERT INTO employee VALUES (?)")
.set("Walter Sobchak")
.insert(Outcome.VOID)
.execute()
.commit();
}
}
Expand Down

0 comments on commit 6df9b3c

Please sign in to comment.