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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:20:23+00:00 2026-06-10T11:20:23+00:00

As a beginner to Java-database projects, how does one decide when one should use

  • 0

As a beginner to Java-database projects, how does one decide when one should use Hibernate in Java code instead of simple jdbc?

  • 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-10T11:20:25+00:00Added an answer on June 10, 2026 at 11:20 am

    Use hibernate if 1 to 4 are satisfied

    1. If you are designing the database schema and your domain objects afresh.
    2. You envision that your domain objects and your schema will be in sync, for example an automobile vendor application where your vehicle objects are likely to be close to your table structures. Just an example.
    3. You really want to use an ORM and tie your objects closely to schema.
    4. Want to use a ORM framework to handle connections etc.

    Else

    I would recommend ibatis. This is still an ORM framework but leaves flexibility in handling schema and domain objects separatley. It offers more flexibility in handling queries etc.

    Spring jdbc also has good features offering flexibility. But i feel it still not near to an ORM. But spring does offer templates to handle orms like hibernate and ibatis.

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

Sidebar

Related Questions

i am a beginner at java language and i use text pad. i have
hello i'm a beginner java developer and this is one question in a list
I'm beginner at hibernate and spring framework. I want to insert into database using
I'm beginner in Java, so, i'm sorry if the question will be too simple
I am a beginner in Java Programming. My code encrypts data extracted from a
I am Java beginner and I am trying to code something. Currently I am
I'm a beginner in Java. I want to use StringUtils.replace but Eclipse outputs StringUtils
I am beginner with Java, and I would like to write some code like
I'm beginner in Java but I has the following code limit = con.prepareStatement(SELECT COUNT(*)
I'll preface my question by saying that I'm a beginner Java EE developer. I

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.