hibernate/hibernate-orm — pull request #314 by bvarner (2012-04-17 17:46:08+00:00)
Title: HHH-7251 PostgreSQL dialect proper HibernateExceptions for deadlock & lock timeout.

The PostgreSQL error codes for timeout and deadlock were not being handled by the SQLStateConversionDelegate installed by default during initialization.

This change overrides the buildSQLExceptionConversionDelegate to provide a subclass of the SQLStateConverstionDelegate which properly checks for postgres specific error codes.