All posts tagged with 'Hibernate'

June Wrap up

30-Jun-17

June was a very though month. I did quite some traveling and thus had hardly time for biking. Cycling wise worst June ever, below 300km in total. Spring Boot Buch Two weeks ago I received several drafts for the cover and I’m quite happy with them and already decided for one. (By the way, I […]

Read the complete article »

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 »