Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    15
    Views
    26,501

    Aww! That's fantastic! Just moving...

    Aww! That's fantastic! Just moving <tx:annotation-driven/> from applicationContext to dispatcherContext and it working now! Thank's!

    That's info from documentation was helpful for me:
  2. Replies
    15
    Views
    26,501

    I have a trouble, please help to resolve it! ...

    I have a trouble, please help to resolve it!

    Application context


    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    ...
  3. Replies
    4
    Views
    238

    Yeah, i know. I use it for testing transaction...

    Yeah, i know. I use it for testing transaction rollback.


    I'm using that becouse like that was in tutorial. PreparedStatementCreator is bad practice? Or.. What should i use in this case?

    Now...
  4. Replies
    4
    Views
    238

    In MessageService, method: ...

    In MessageService, method:


    @Transactional(propagation = Propagation.REQUIRED)
    public Message setMessage(String author, String text, Integer prev_id) {
    final String sql =...
  5. Replies
    4
    Views
    238

    Transactional, how it's working?

    In my first Spring application, i'm tried to use transactions. I'm using JdbcTemplate and i'm have 2 tables: messages and pictures.
    Method used for adding message, looks like:
    1) updating messages...
  6. Replies
    0
    Views
    179

    @Transactional, how it's working?

    In my first Spring application, i'm tried to use transactions. I'm using JdbcTemplate and i'm have 2 tables: messages and pictures.
    Method used for adding message, looks like:
    1) updating messages...
Results 1 to 6 of 6