Search:

Type: Posts; User: DevFox; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    1,301

    what's your problem here? to test the...

    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...
  2. The most common problem is, that the database...

    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...
  3. Hello, did you already solved your problem? when...

    Hello,
    did you already solved your problem? when you did - who does is work? :-)

    greetings
    martin
  4. i thought it would work - but now i receive a...

    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...
  5. it is possible to use a ProxyFactory to weave the...

    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;
    ...
  6. declaring jdbcTemplate in applicationContext with aspects?!

    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...
  7. Extending AbstractTransactionalSpringContextTests for ddsteps

    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...
Results 1 to 7 of 7