PostgreSQL driver returning incorrect numeric data when extracting results in JBoss EAP
Issue
- Loading data from a native SQL query
- Randomly, numeric data (stored as
bigintin PostgreSQL) retrieved from the driver contains a trailing zero character- Expected
... TRACE [org.hibernate.type.descriptor.sql.BasicExtractor] ... extracted value ([bigint_col] : [NUMERIC]) - [12345] - Finding
... TRACE [org.hibernate.type.descriptor.sql.BasicExtractor] ... extracted value ([bigint_col] : [NUMERIC]) - [123450]
- Expected
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
- Hibernate 5
- PostgreSQL 9.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.