Package io.jmix.eclipselink.impl.support
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
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJmixEclipseLinkJpaDialect
(org.springframework.core.env.Environment environment, DbmsSpecifics dbmsSpecifics) -
Method Summary
Modifier and TypeMethodDescriptionbeginTransaction
(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
-
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 interfaceorg.springframework.orm.jpa.JpaDialect
- Overrides:
beginTransaction
in classorg.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
- Throws:
jakarta.persistence.PersistenceException
SQLException
org.springframework.transaction.TransactionException
-
cleanupTransaction
- Specified by:
cleanupTransaction
in interfaceorg.springframework.orm.jpa.JpaDialect
- Overrides:
cleanupTransaction
in classorg.springframework.orm.jpa.DefaultJpaDialect
-