PostgreSQL default value don’t work in Spring/Hibernate application
There is an application on Spring/Hibernate. I am using the PostgreSQL-database. I created the table with this script:
Java Spring Boot project. Cache filling with org.postgresql.core.Tuple
In a Spring project, up to 4 GB of memory fills up gradually over a few days or a week. I’m not sure which library is to blame for this object caching – Spring, Hibernate or JDBS or org.postgresql libriry directly. The only thing I see in VisualVM right now is almost two million org.postgresql.core.Tuple objects after i got a Heap space error.
could not execute statement [ERROR: value too long for type character varying(3)] while migrating springboot 3 java 17
Previously with springboot 2.7 it was working fine after migrate when I try to insert query it is getting