Class JmixEclipseLinkJpaDialect

java.lang.Object
org.springframework.orm.jpa.DefaultJpaDialect
org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
io.jmix.eclipselink.impl.support.JmixEclipseLinkJpaDialect
All Implemented Interfaces:
Serializable, org.springframework.dao.support.PersistenceExceptionTranslator, org.springframework.orm.jpa.JpaDialect

@Component("eclipselink_JmixEclipseLinkJpaDialect") public class JmixEclipseLinkJpaDialect extends org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.core.env.Environment
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    JmixEclipseLinkJpaDialect(org.springframework.core.env.Environment environment, DbmsSpecifics dbmsSpecifics)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    beginTransaction(jakarta.persistence.EntityManager entityManager, org.springframework.transaction.TransactionDefinition definition)
     
    void
    cleanupTransaction(Object transactionData)
     

    Methods inherited from class org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect

    getJdbcConnection, setLazyDatabaseTransaction

    Methods inherited from class org.springframework.orm.jpa.DefaultJpaDialect

    prepareTransaction, releaseJdbcConnection, translateExceptionIfPossible

    Methods inherited from class java.lang.Object

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

    • environment

      protected org.springframework.core.env.Environment environment
  • Constructor Details

    • JmixEclipseLinkJpaDialect

      public JmixEclipseLinkJpaDialect(org.springframework.core.env.Environment environment, DbmsSpecifics dbmsSpecifics)
  • Method Details

    • beginTransaction

      public Object beginTransaction(jakarta.persistence.EntityManager entityManager, org.springframework.transaction.TransactionDefinition definition) throws jakarta.persistence.PersistenceException, SQLException, org.springframework.transaction.TransactionException
      Specified by:
      beginTransaction in interface org.springframework.orm.jpa.JpaDialect
      Overrides:
      beginTransaction in class org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
      Throws:
      jakarta.persistence.PersistenceException
      SQLException
      org.springframework.transaction.TransactionException
    • cleanupTransaction

      public void cleanupTransaction(Object transactionData)
      Specified by:
      cleanupTransaction in interface org.springframework.orm.jpa.JpaDialect
      Overrides:
      cleanupTransaction in class org.springframework.orm.jpa.DefaultJpaDialect