Announcement Announcement Module
Collapse
No announcement yet.
Is this correct? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Right ok. If you are using the HibernateTransactionManager then the HibernateCallback will give you the same Session within that transaction. You should be able to call into various HibernateCallback instances and find you have the same Session everytime. Personally, if you are using transactions I would go for declarative support. However if you do want to use transactions programmatically, TransactionTemplate is the way to go.
    Last edited by karldmoore; Aug 27th, 2007, 03:44 PM.

    Comment


    • #17
      Originally posted by karldmoore View Post
      Right ok. If you are using the HibernateTransactionManager then the HibernateCallback will give you the same Session within that transaction. You should be able to call into various HibernateCallback instances and find you have the same Session everytime. Personally, if you are using transactions I would go for declarative support. However if you do want to use transactions programmatically, TransactionTemplate is the way to go.
      Ok.
      Thank you for the support.
      I have ideas little bit more clear
      Sorry for disturbing.

      Comment


      • #18
        Not a problem, glad to help. If you have anymore questons, post back and I'll see what I can do.
        Last edited by karldmoore; Aug 27th, 2007, 03:43 PM.

        Comment

        Working...
        X