I opened a JIRA an attached a patch CAMEL-11197 <https://issues.apache.org/jira/browse/CAMEL-11197>
I couldn't come up with a way to unit test this change without introducing integration tests with various connection pool providers but I am using this patch in my project already. No more problems with lost database connection -- View this message in context: http://camel.465427.n5.nabble.com/camel-jpa-and-PersistenceException-tp5795205p5798255.html Sent from the Camel - Users mailing list archive at Nabble.com.