Skip to content

Commit 95c788f

Browse files
committed
Fixed a typo
1 parent 5d15671 commit 95c788f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/scalikejdbc/async/AsyncDBSession.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ trait AsyncDBSession extends LogSupport {
3232
withListeners(statement, parameters) {
3333
queryLogging(statement, parameters)
3434
if (connection.isShared) {
35-
// create local transaction becauase postgresql-async 0.2.4 seems not to be stable with PostgreSQL without transaction
35+
// create local transaction because postgresql-async 0.2.4 seems not to be stable with PostgreSQL without transaction
3636
connection.toNonSharedConnection().map(c => TxAsyncDBSession(c)).flatMap { tx: TxAsyncDBSession =>
3737
tx.execute(statement, parameters: _*)
3838
}
@@ -47,7 +47,7 @@ trait AsyncDBSession extends LogSupport {
4747
withListeners(statement, parameters) {
4848
queryLogging(statement, parameters)
4949
if (connection.isShared) {
50-
// create local transaction becauase postgresql-async 0.2.4 seems not to be stable with PostgreSQL without transaction
50+
// create local transaction because postgresql-async 0.2.4 seems not to be stable with PostgreSQL without transaction
5151
connection.toNonSharedConnection().map(c => TxAsyncDBSession(c)).flatMap { tx: TxAsyncDBSession =>
5252
tx.update(statement, parameters: _*)
5353
}

0 commit comments

Comments
 (0)