pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: monclaf (@monclaf) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] issue #3731: Entity Manager Creation issue with jdbc driver > 42.7.4
Date: Mon, 28 Jul 2025 13:29:15 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hello @vlsi
I finally succeeded in creating a reproducer :
[Z_JDBC_POSTGRESQL_DRIVER_ISSUE.zip](https://github.com/user-attachments/files/21470263/Z_JDBC_POSTGRESQL_DRIVER_ISSUE.zip)
I understand the root cause, but I don't know if it's directly or indirectly caused by the versions: postgresql-42.7.5, 6 and 7.
The cause of the problem is that I'm using uppercase letters to name the database and the jdbc driver is affected when it searches for database tables and, as a result, JPA tries to create tables that already exist when it's configured to automatically build the database schema (persistence.xml). Can you confirm ?
The issue is simple to reproduce,
- create a database with lowercase run java program to build the schema
- run again the program to create the entity manager
- rename the database using uppercase
- run again the program that will reproduce the issue and generate exception
view thread (21+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] issue #3731: Entity Manager Creation issue with jdbc driver > 42.7.4
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox