Comments (13)
ah right, I thought an interaction with the database was required :-) @zakkak
from vertx-sql-client.
pinging @vietj since he was one of the last persons to touch that part
from vertx-sql-client.
can you provide a reproducer (a SQL statement would work fine) for this @jerboaa ?
from vertx-sql-client.
No, sorry. I have no idea. Perhaps somebody in quarkusio/quarkus#37208 can help?
from vertx-sql-client.
@vietj is the following reproducer OK?
- Grab an OpenJDK 22+24-EA build from https://github.com/adoptium/temurin22-binaries/releases/tag/jdk-22%2B24-ea-beta
git clone https://github.com/zakkak/vertx-pg-1379-reproducer.git
cd vertx-pg-1379-reproducer
mvn package
/path/to/jdk-22+24-ea/bin/java -jar target/vertx-pg-example-1.0-SNAPSHOT-jar-with-dependencies.jar
All it does is:
System.out.println( DataTypeCodec.LDT_MINUS_INFINITY );
Which runs fine with JDK 21 printing:
-4713-11-24T00:00
but fails with JDK 22+24-ea printing:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.example.App.main(App.java:13)
Caused by: java.time.format.DateTimeParseException: Text '4714-11-24 00:00:00 BC' could not be parsed at index 20
at java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2108)
at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:2010)
at java.base/java.time.LocalDateTime.parse(LocalDateTime.java:494)
at io.vertx.pgclient.impl.codec.DataTypeCodec.<clinit>(DataTypeCodec.java:1077)
... 1 more
from vertx-sql-client.
@vietj Do you have an ETA when this will be fixed? We will need the updated vertx version then in quarkus too. Thanks!
from vertx-sql-client.
@jerboaa not yet, but for sure the issue is on our radar
from vertx-sql-client.
OK, thanks!
from vertx-sql-client.
Hi @vietj, I applied the change in my fork and tested it on github actions. Unfortunately I can't do any more testing since I am not familiar with the code base. I also opened #1391 in case it helps.
from vertx-sql-client.
@zakkak I see the bug you filed has been fixed, the JDK 22-EA in which the bug appear has never been released, so I am assuming the next EA will have the bug fixed and that shall be fine ?
from vertx-sql-client.
@zakkak I see the bug you filed has been fixed, the JDK 22-EA in which the bug appear has never been released, so I am assuming the next EA will have the bug fixed and that shall be fine ?
Which bug? This one? https://bugs.openjdk.org/browse/JDK-8320431
That got closed as Not an issue
, which essentially means a fix as suggested in #1391 is needed. It's intended behaviour in the JDK which was a side-effect of it working in earlier JDKs and got finally fixed.
from vertx-sql-client.
ok so this is not a temporary workaround as far as you can tell
from vertx-sql-client.
ok so this is not a temporary workaround as far as you can tell
Yes.
from vertx-sql-client.
Related Issues (20)
- Support for Oracle collections HOT 14
- Remove Oracle Client from tech preview HOT 1
- Connection error using virtual threads HOT 3
- CascadeTest fails with Hibernate Reactive 2.0 and Vert.x 4.4 HOT 1
- NullPointerException in PgDecoder.decodeError() HOT 1
- PgSubscriberImpl.fetch() not implemented HOT 3
- PgSubscriberImpl silently does not register exception handler HOT 1
- authenticationScheme, integratedSecurity and trustServerCertificate param in sql URI is not effective HOT 1
- NTLM Authentication to connect to SQL Server HOT 11
- Cursor .close() not finishes in case of multiple close attempts
- PGClient not correctly handling SSL MODE ALWAYS HOT 1
- [MySQL] errors during test for graal native-compile project
- Sql Client always disables HostnameVerificationAlgorithm HOT 13
- Call Function with INOUT-Null-Value HOT 2
- MySQLConnectionImpl.resetConnection() does not clear PreparedStatementCache HOT 1
- Event loop blocked inside vertx-pg-client during DNS resolution HOT 12
- Update to SCRAM 3.0 and support channel binding HOT 1
- SQL Server has closed connection unexpectedly if sql request size more then package size and it is chunked (probably only together with ssl) HOT 4
- Memory leak in Aurora Postgres since 3.9.1 HOT 4
- MySQL client does not use providers by default available in FIPS-enabled environment HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vertx-sql-client.