Showing posts with the label hibernate

[FIXED] Using enum vs Boolean?

Issue This may initially seem generic, but in fact, I am actually making the decision on which I ne…

[FIXED] Extremely weird hibernate search issue

Issue I'm having a hard time thinking how to provide a reproducible example, because there are …

[FIXED] Hibernate Criteria.setMaxResults() fails on Oracle 11g

Issue When using hibernate to retrieve data from Oracle 11g DB using either org.hibernate.dialect.O…

[FIXED] How to prevent SQL Injection with JPA and Hibernate?

Issue I am developing an application using hibernate. When I try to create a Login page, The proble…

[FIXED] SQL generated by Hibernate invalid for MS SQL

Issue Hibernate (HQL) generated the following SQL for which I inserted the parameters: select su…

[FIXED] How to continue processing after a constraint violation exception?

Issue We have a Kafka consumer in a Java - Spring Boot service that has multiple instances in multi…