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

The Archive Base Latest Questions

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

Hibernate and eclipselink are the most popular DAL frameworks for Java. From what I

  • 0

Hibernate and eclipselink are the most popular DAL frameworks for Java. From what I understand they map object that the programmer created to database relations and stored procedures that are created automatically.

What are the pros and cons of using this method versus:

  1. Writing your own DAL, assuming my project is small-medium sized.

  2. Finding a framework (if exists ?) that will it the other way – create classes from database relations and stored procedures.

Personally, I feel more comfortable with reasoning about database relations rather than Java (or any programming language) classes.

  • 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:42:31+00:00Added an answer on May 28, 2026 at 3:42 am

    Your understanding of JPA is wrong. JPA (of which Hibernate and EclipseLink ar two implementations) is an ORM: Object Relational Mapper. Some prefer designing Java objects and deduce the database schema from these objects. Others prefer designing a database schema, and deduce Java objects from this schema.

    Both approaches are possible, and JPA doesn’t assume any of those approaches. It specifies how Java objects and their associations can/must be mapped to tables.

    Advantages over writing your own DAL:

    • you don’t have to,
    • it’s much more efficient
    • it’s standard, and a whole lot of developers know how it works
    • it’s better designed, and has less bugs
    • what you learn will be usable on many other projects

    Advantages over finding a framework which creates classes from database relations:

    • Not applicable: JPA is such a framework.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My understanding of Hibernate is that as objects are loaded from the DB they
Hibernate has a handful of methods that, one way or another, takes your object
Does hibernate provide a method that returns an object's state (transient, persistent, detached)?
I'm currently moving a (working) app from using EclipseLink to Hibernate JPA, mostly it's
I'm working on switching my JPA persistence provider from EclipseLink 2.3 to Hibernate 3.6.5.Final.
Hibernate can auto-generate schemas from properly annotated POJO classes. And I also know that
I am using Hibernate in a Java application to access my Database and it
I'm struggling with real-world use of JPA (Hibernate, EclipseLink, etc) in a Swing desktop
Most Hibernate tutorials use Maven for handling the build, but I'm looking for a
Using hibernate @Any mapping to map multiple entities in the same, I haven't be

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.