Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7052339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:22:17+00:00 2026-05-28T03:22:17+00:00

As best practice, when using hibernate and spring together which transaction management should I

  • 0

As best practice, when using hibernate and spring together which transaction management should I use, Spring’s transaction management or Hibernate’s transaction management?
I understand that both provides transaction management but since they are usually used together I dont know which to use. Does it depend on the situation or type of transaction to be handled or is there a rule of thumb when using these frameworks together?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:22:18+00:00Added an answer on May 28, 2026 at 3:22 am

    Spring is supposed to help you use Hibernate’s transaction management – it’s additional level of abstraction that simply works:) It is much more convenient marking which parts should be transactional (therefore handled by Spring).

    Edit:
    Oh I almost forgot. With Spring’s transactional support you will write LESS code 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a best practice for using claims for right-management? I am using the
What are the best practices for using use cases to model system behavior that
I'm using hibernate + play! framework at work, is there a best practice on
I'm looking at this java web application that is using hibernate, jsp's, and spring
What's the best practice for using ASP.NET expressions inside an external Javascript file? I'm
What is the best practice for using C# as an embedded internal scripting application
What is the best practice for upgrading the database using ORM ( DevExpress XPO
I've a best practice question on CouchDB (actually I'm using TouchDB a CouchDB port
What's the best practice to do this? Basically I am using rabbitMQ and it
This is more or less a best-practice question: I'm working on a site that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.