what's your problem here?
to test the reaction on a second insert of the same object do so:
public void testFailedSecondInsert() {
try {
this.persistenceManager.saveOrUpdate(firstInstance...
Type: Posts; User: DevFox; Keyword(s):
what's your problem here?
to test the reaction on a second insert of the same object do so:
public void testFailedSecondInsert() {
try {
this.persistenceManager.saveOrUpdate(firstInstance...
The most common problem is, that the database doesn't support transactions (-> use innoDB for mysql).
Active DEBUG log level via log4j and look at the log entries. Spring should write some messages...
Hello,
did you already solved your problem? when you did - who does is work? :-)
greetings
martin
i thought it would work - but now i receive a NullPointerException at TransactionManager:
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean...
it is possible to use a ProxyFactory to weave the aspects around the jdbcTemplate at runtime.
i can use following Code:
public class JdbcTemplateProxy
{
private Advice[] advices;
...
Hello folks,
I’m using spring-1.2.6 with cglib-2.1_3 trying to declare a jdbcTemplate in my applicationContext using an autoProxy to weave aspects around the jdbcTemplate.
I receive following...
Hello folks,
I’m trying to use springs’ AbstractTransactionalSpringContextTests related with the ddsteps junit extension (www.ddsteps.org). Finally I want to receive the test data for test cases...