I have deployed my web app in Tomcat container.Below is my app context,
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
...
Type: Posts; User: addy999; Keyword(s):
I have deployed my web app in Tomcat container.Below is my app context,
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
...
I have my DAO layer implemented using open JPA. My service implementation code is made Transactional using the
Spring “@Transactional” annotation. I have my service test case extended from the...
So the issue
1.Why i the persistence exception not translated at all ? That is the translateIfPossible() method is not invoked.
is resolved.I was hoping for the exception to be translated but i...
I am seeing similar issues.
I tried to debug and the translateExceptionIfPossible() method of the PersistenceExceptionTranslator is not invoked at all.That's why the exception is not translated. I...
Actually, the translateExceptionIfPossible(RuntimeException ex) method of the PersistenceExceptionTranslator interface and implemented by the LocalContainerEntityManagerFactoryBean is not invoked at...
Thanks for your reply trisberg.
I tried with Spring 2.1M4 but get the same issue.
I am using Spring 2.0.6 and OpenJPA 1.0.My Spring application context is configured to use the PersistenceExceptionTranslationPostProcessor and all DAO classes marked with the @Repository annotation....