This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-persistence-jdbc.git
The following commit(s) were added to refs/heads/main by this push:
new 3a49451 Update comment for H2 database dependency (#361)
3a49451 is described below
commit 3a4945135f5099e81cb7087797efa42555c7b384
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Nov 14 18:23:50 2025 +0100
Update comment for H2 database dependency (#361)
---
.../apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala
index 7cda177..e2e8676 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala
@@ -37,7 +37,7 @@ import slick.sql.SqlStreamingAction
import profile.api._
- // H2 dependent
(https://stackoverflow.com/questions/36244641/h2-equivalent-of-postgres-serial-or-bigserial-column)
+ // H2 dependent (based on https://www.h2database.com/html/systemtables.html)
def getSequenceNextValueExpr() = {
sql"""SELECT COLUMN_DEFAULT
FROM INFORMATION_SCHEMA.COLUMNS
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]