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

    Constructors
    Constructor
    Description
    HapiFhirHibernateJpaDialect(ca.uhn.fhir.i18n.HapiLocalizer theLocalizer)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.dao.DataAccessException
    convertHibernateAccessException(org.hibernate.HibernateException theException)
     
    translate(jakarta.persistence.PersistenceException theException, String theMessageToPrepend)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 class org.springframework.orm.jpa.vendor.HibernateJpaDialect