Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18c347b6ad | ||
| 4aa8709eb5 | |||
|
|
3766241dad | ||
| 009b2b1ad9 | |||
|
|
ab29008a06 | ||
| 71a549b7f0 | |||
|
|
3ef79e5838 | ||
| f4290b4497 | |||
|
|
5a1296ff3a | ||
| a7292e3b5d |
25
CHANGELOG.md
25
CHANGELOG.md
@@ -348,3 +348,28 @@
|
||||
### Features
|
||||
|
||||
* BAC-39 Authentication ([#114](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/issues/114)) ([f6d3a18](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/commit/f6d3a1845205318f43eb443601fd257613b7defb))
|
||||
## (2026-01-20)
|
||||
|
||||
### Features
|
||||
|
||||
* Update persistence.xml and build.sbt for resource management ([a7292e3](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/commit/a7292e3b5df4788f2f8bea5a2ec7b209b7357608))
|
||||
## (2026-01-20)
|
||||
|
||||
### Features
|
||||
|
||||
* Update connection provider in persistence.xml for HikariCP ([f4290b4](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/commit/f4290b44976fb6dcd4fc4b896614ba6062da73b1))
|
||||
## (2026-01-20)
|
||||
|
||||
### Features
|
||||
|
||||
* Update Hibernate connection provider and database configuration ([71a549b](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/commit/71a549b7f059e748f7691bb9a27e2861b61c6f6f))
|
||||
## (2026-01-20)
|
||||
|
||||
### Features
|
||||
|
||||
* Add HikariCP specific configuration to db.conf ([009b2b1](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/commit/009b2b1ad9180f58a0b1434354f8a467b4e452ca))
|
||||
## (2026-01-20)
|
||||
|
||||
### Features
|
||||
|
||||
* Add HikariCP specific configuration to db.conf ([4aa8709](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/commit/4aa8709eb593b03254efc616b6b04c23b23ab6ab))
|
||||
|
||||
@@ -59,8 +59,11 @@ lazy val knockoutwhistweb = project.in(file("knockoutwhistweb"))
|
||||
libraryDependencies += "org.playframework" %% "play-java-jpa" % "3.0.6",
|
||||
libraryDependencies += "com.nimbusds" % "oauth2-oidc-sdk" % "11.31.1",
|
||||
libraryDependencies += "org.playframework" %% "play-ws" % "3.0.6",
|
||||
libraryDependencies += "org.hibernate.orm" % "hibernate-hikaricp" % "7.2.1.Final",
|
||||
libraryDependencies += ws,
|
||||
JsEngineKeys.engineType := JsEngineKeys.EngineType.Node
|
||||
JsEngineKeys.engineType := JsEngineKeys.EngineType.Node,
|
||||
|
||||
PlayKeys.externalizeResourcesExcludes += baseDirectory.value / "conf" / "META-INF" / "persistence.xml"
|
||||
)
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
||||
Submodule knockoutwhistfrontend updated: 86dcc6173c...c2dfa0e701
@@ -8,8 +8,6 @@
|
||||
<persistence-unit name="defaultPersistenceUnit">
|
||||
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
|
||||
|
||||
<class>model.users.UserEntity</class>
|
||||
|
||||
<properties>
|
||||
<!-- Database connection settings -->
|
||||
<property name="jakarta.persistence.jdbc.driver" value="org.postgresql.Driver"/>
|
||||
@@ -20,6 +18,7 @@
|
||||
<!-- Hibernate specific settings -->
|
||||
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
|
||||
<property name="hibernate.hbm2ddl.auto" value="update"/>
|
||||
<property name="hibernate.archive.autodetection" value="class"/>
|
||||
<property name="hibernate.show_sql" value="false"/>
|
||||
<property name="hibernate.format_sql" value="true"/>
|
||||
<property name="hibernate.use_sql_comments" value="true"/>
|
||||
@@ -1,10 +1,21 @@
|
||||
|
||||
# Database configuration - PostgreSQL with environment variables
|
||||
db.default.driver=org.postgresql.Driver
|
||||
db.default.driver="org.postgresql.Driver"
|
||||
db.default.url="jdbc:postgresql://localhost:5432/knockoutwhist"
|
||||
db.default.url=${?DATABASE_URL}
|
||||
db.default.username="kw_user"
|
||||
db.default.username=${?DB_USER}
|
||||
db.default.password="postgres"
|
||||
db.default.password=${?DB_PASSWORD}
|
||||
db.default.password=""
|
||||
|
||||
# HikariCP specific configuration
|
||||
db.default.hikaricp.driverClassName="org.postgresql.Driver"
|
||||
db.default.hikaricp.jdbcUrl="jdbc:postgresql://localhost:5432/knockoutwhist"
|
||||
db.default.hikaricp.jdbcUrl=${?DATABASE_URL}
|
||||
db.default.hikaricp.username="kw_user"
|
||||
db.default.hikaricp.username=${?DB_USER}
|
||||
db.default.hikaricp.password="postgres"
|
||||
db.default.hikaricp.password=${?DB_PASSWORD}
|
||||
|
||||
# JPA/Hibernate configuration
|
||||
jpa.default=defaultPersistenceUnit
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
MAJOR=4
|
||||
MINOR=31
|
||||
MINOR=36
|
||||
PATCH=0
|
||||
|
||||
Reference in New Issue
Block a user