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 8340331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:09:10+00:00 2026-06-09T05:09:10+00:00

We have a project with MySQL database and Spring as the framework. I am

  • 0

We have a project with MySQL database and Spring as the framework. I am very new to Spring and looking to implement the database access layer and found that there are several options available, like

  • Using Spring + Hibernate
  • Using Spring JDBC Template
  • Using Spring ORM Module

I have gone through the various posts in stackoverflow and did a bit of research on the web, but every question had different answers supporting different options. Also, I did see a mention about Spring JDBC template not being recommended now.

The application might have approximately 1000 transactions per hour and have 60% reads and 40% writes, approximately.

Can anyone help me in finding an answer as to which of the 3 options is suitable and why ?
Or, if you can point me to some resources, that would be highly appreciated as well.

  • 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-06-09T05:09:12+00:00Added an answer on June 9, 2026 at 5:09 am

    Hibernate is just one of the many ORM solutions that Spring supports; others are listed here.

    You might choose ORM if all of the following were true:

    1. You had a solid object model to map relational data to.
    2. You liked the SQL generated for you by the ORM layer.
    3. Your schema conformed nicely to the requirements of the ORM solution.
    4. You weren’t using a lot of stored procedures.
    5. You didn’t think you could optimize SQL better than the ORM could.

    If any of those aren’t true, maybe an ORM isn’t for you.

    Spring JDBC template is light and simple. I would bet that it could accomodate your stated requirements. I’d recommend going with that until you found out that your requirements drove you to ORM. If you follow the typical Spring idiom and create an interface-based persistence layer, this will mean injecting one implementation instead of another.

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

Sidebar

Related Questions

i have project in ASP.NET MVC 3 and a mysql database that contains a
I have a WinForms project in C# that connects to a MySQL database. I'm
I have a Django1.1 project that works with a legacy MySQL db. I'm trying
I am trying to connect to a mysql database on my first Spring Project
I am new to Entity Framework, and ORM's for that mather. In the project
I have a project in which I'm accessing a MySql database on my web
I have created a spring roo project with mqsql database.When i run the project
I have a JPA project connected to a MySQL database where my entity object
I have a client that wants to connect to his MySQL database using Dial-up/Modem
I have a Symfony2 project with a MySQL db: #app/config/config.yml doctrine: dbal: driver: %database_driver%

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.