Package ca.uhn.fhir.jpa.config
Class HapiFhirHibernateJpaDialect
java.lang.Object
org.springframework.orm.jpa.DefaultJpaDialect
org.springframework.orm.jpa.vendor.HibernateJpaDialect
ca.uhn.fhir.jpa.config.HapiFhirHibernateJpaDialect
- All Implemented Interfaces:
Serializable
,org.springframework.dao.support.PersistenceExceptionTranslator
,org.springframework.orm.jpa.JpaDialect
public class HapiFhirHibernateJpaDialect
extends org.springframework.orm.jpa.vendor.HibernateJpaDialect
- See Also:
-
Constructor Summary
ConstructorDescriptionHapiFhirHibernateJpaDialect
(ca.uhn.fhir.i18n.HapiLocalizer theLocalizer) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.dao.DataAccessException
convertHibernateAccessException
(org.hibernate.HibernateException theException) Methods inherited from class org.springframework.orm.jpa.vendor.HibernateJpaDialect
beginTransaction, cleanupTransaction, getIdentifier, getJdbcConnection, getSession, prepareFlushMode, prepareTransaction, setJdbcExceptionTranslator, setPrepareConnection, translateExceptionIfPossible
Methods inherited from class org.springframework.orm.jpa.DefaultJpaDialect
releaseJdbcConnection
-
Constructor Details
-
HapiFhirHibernateJpaDialect
Constructor
-
-
Method Details
-
translate
public RuntimeException translate(jakarta.persistence.PersistenceException theException, String theMessageToPrepend) -
convertHibernateAccessException
protected org.springframework.dao.DataAccessException convertHibernateAccessException(@Nonnull org.hibernate.HibernateException theException) - Overrides:
convertHibernateAccessException
in classorg.springframework.orm.jpa.vendor.HibernateJpaDialect
-