类 EclipseLinkJpaDialect

  • 所有已实现的接口:
    Serializable, PersistenceExceptionTranslator, JpaDialect

    public class EclipseLinkJpaDialect
    extends DefaultJpaDialect
    JpaDialect implementation for Eclipse Persistence Services (EclipseLink). Developed and tested against EclipseLink 2.4.

    By default, this class acquires an early EclipseLink transaction with an early JDBC Connection for non-read-only transactions. This allows for mixing JDBC and JPA/EclipseLink operations in the same transaction, with cross visibility of their impact. If this is not needed, set the "lazyDatabaseTransaction" flag to true or consistently declare all affected transactions as read-only. As of Spring 4.1.2, this will reliably avoid early JDBC Connection retrieval and therefore keep EclipseLink in shared cache mode.

    从以下版本开始:
    2.5.2
    作者:
    Juergen Hoeller
    另请参阅:
    setLazyDatabaseTransaction(boolean), LazyConnectionDataSourceProxy, 序列化表格