Sky
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
but I don't know how docker does it exactly when I try to use the credentials I put in my docker file, it says it can't connect
24 replies
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
yes it works without docker if I connect to the local postgresql
24 replies
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
POSTGRES_DB=your_database
POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_password
24 replies
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
but you can see in my docker that it is the same no ?
24 replies
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
services:
postgres:
image: 'postgres:latest'
environment:
- POSTGRES_DB=your_database
- POSTGRES_USER=your_user
- POSTGRES_PASSWORD=your_password
ports:
- '5432:5432'
24 replies
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
spring.application.name=moviz
spring.security.user.name=admin
spring.security.user.password=admin
server.port=8080
spring.datasource.url=jdbc:postgresql://localhost:5432/your_database
spring.datasource.username=your_user
spring.datasource.password=your_password
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update
spring.sql.init.mode=never
24 replies
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
how can I write them incorrectly I just copy pasted them
24 replies
JCHJava Community | Help. Code. Learn.
•Created by Sky on 2/1/2025 in #java-help
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection
I read it but they are correct
24 replies