CausewayModulePersistenceJdoDatanucleus
API
CausewayModulePersistenceJdoDatanucleus.java
class CausewayModulePersistenceJdoDatanucleus {
public static final String NAMESPACE;
DnJdoDialect getDnJdoDialect(DataSource dataSource) (1)
LocalPersistenceManagerFactoryBean getLocalPersistenceManagerFactoryBean(CausewayConfiguration causewayConfiguration, DataSource dataSource, MetaModelContext metaModelContext, ObjectLifecyclePublisher objectLifecyclePublisher, CausewayBeanTypeRegistry beanTypeRegistry, DatanucleusSettings dnSettings)
TransactionAwarePersistenceManagerFactoryProxy getTransactionAwarePersistenceManagerFactoryProxy(MetaModelContext metaModelContext, LocalPersistenceManagerFactoryBean localPmfBean, CausewayBeanTypeRegistry beanTypeRegistry, List<JdoEntityDiscoveryListener> jdoEntityDiscoveryListeners, DatanucleusSettings dnSettings)
JdoTransactionManager getTransactionManager(JdoDialect jdoDialect, LocalPersistenceManagerFactoryBean localPmfBean)
TransactionInterceptor transactionInterceptor(TransactionAttributeSource transactionAttributeSource) (2)
}
1 | getDnJdoDialect(DataSource)
Conveniently registers this dialect as a PersistenceExceptionTranslator with Spring . |
2 | transactionInterceptor(TransactionAttributeSource)
Works in combination with org.apache.causeway.core.config.beans.TransactionInterceptorPatcher. Replaces the Spring provided TransactionInterceptor , with an overwritten variant. |