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

  • Home
  • SEARCH
  • 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 3276616
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:16:41+00:00 2026-05-17T19:16:41+00:00

I just start reading Sun’s JDBC tutorial. I installed MySQL Connector/J and was just

  • 0

I just start reading Sun’s JDBC tutorial. I installed MySQL Connector/J and was just skimming through its menu, then came across this statement:

“Although JDBC is useful by itself, we would hope that if you are not familiar with JDBC that after reading the first few sections of this
manual, that you would avoid using naked JDBC for all but the most trivial problems and consider using one of the popular persistence
frameworks such as Hibernate, Spring’s JDBC templates or Ibatis SQL Maps to do the majority of repetitive work and heavier lifting that is sometimes required with JDBC”

So what are the relationships between Spring, Hibernate, JDBC? What does the statement mean by saying “avoid using naked JDBC”?

Thanks,

Sarah

  • 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-17T19:16:41+00:00Added an answer on May 17, 2026 at 7:16 pm

    If you use Hibernate, Spring’s JDBC templates or Ibatis SQL Maps, you’re still using JDBC, but you don’t have to deal with it directly. They’re doing it for you, and to a degree, insulate you from some difficulties in the use of JDBC.

    Hibernate is an object-relational-mapping framework.

    MyBatis, formerly known as iBatis, is a data mapping framework.

    Spring is a wide-ranging set of web framework components, and includes templating subsystems that allow integration with JDBC, Hibernate, or iBatis and abstract away some of the details of dealing with any of them.

    You should indeed learn JDBC, but also (eventually) learn some of these others and try to avoid using JDBC directly for anything very complex.

    These ideas are also (especially Hibernate) closely related to the Java Persistence API (JPA), which is also certainly worth learning.

    You might also want to look at Java Data Objects (JDO).

    Don’t try to learn it all at once, though.

    Starting with JDBC is a good idea. Staying with it is not.

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

Sidebar

Related Questions

I have just start reading Let over lambda and I thought I would try
In just about any formally structured set of information, you start reading either from
I have just started reading through The C Programming Language and I am having
I am just reading a great tutorial about threads and have a problem with
Apache just fails to start with NO error message when we try to reboot
So here I am just about to start a big project using LINQ to
I'm working on a project which is just about to start, and since I
How do I fix a broken debugger, one that just won't start, in EclipseME
Right now we just use something like this stopWatch.Start(); try { method(); } finally
Before I start with the real question, let me just say that I might

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.