Announcement Announcement Module
Collapse
No announcement yet.
is HibernateTransactionManager mandatory when hibernate is DAO access technology Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • is HibernateTransactionManager mandatory when hibernate is DAO access technology

    hello ...

    we have got a web application where we use struts as web layer spring as service layer and hibernate as DAO layer technology.

    here we use DatasourceTransactionManager to manage transactions started by spring but inside we fire queries using hibernate in DAO layer...

    why does this work when DatasourceTRansactionManager is supposed to be used "only" when we use JDBC connections??

    or it doesn't matter which transactionmanager we use...irrespective of DAO layer data access technology...

    please disillusion me ...

  • #2
    I guess you are just lucky that you don't have any uses (yet). But you really should use the TransactionManager corresponding to your technology.

    Comment

    Working...
    X