All posts tagged with 'Hibernate'

Hibernate Search and Spring Boot: Simple yet powerful archiving

06-Sep-16

This post has been featured in the Hibernate Community Newsletter 18/2016. Before my summer holidays I mentioned my personal twitter archive on Twitter again…. This time, Vlad from Hibernate reacted on my tweet: @rotnroll666 If you write a blog post, I'll feature it on our Newsletter — Vlad Mihalcea (@vlad_mihalcea) 27. Juli 2016 More reactions […]

Read the complete article »

JPA Criteria Query or plain SQL

25-Sep-12

Note: The following stuff is not Hibernate specific but is true for every JPA2 provider and falls into the category of JPA criteria query. Some days ago i just saw this video Christin Gorman about Hibernate. Although i don’t agree with her and i actually do like hibernate as a great tool, there are certainly […]

Read the complete article »

Fixing hibernate “Cannot release connection” exception using DBCP and MySQL.

21-Nov-11

Every 8 hours i got a Hibernate exception “Cannot release connection” within a Java application using Hibernate, Apache DBCP on Tomcat: org.hibernate.exception.GenericJDBCException: Cannot release connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) .. .. Caused by: java.sql.SQLException: Already closed. Not only that the messages polluted my inbox, the exception was visible to the enduser, […]

Read the complete article »

Some random Grails thoughts and tipps

04-Dec-08

Lately i’ve been rambling and ranting a lot on twitter about the Grails framework. To my surprise, many other developers actually read this tweets and helped me out on some problems. Thanks a lot gals and guys, i really appreciate that. Me rambling isn’t meant to be personal at any time, i guess you know […]

Read the complete article »