How to represent the whole database to OOP

Posted on 2006-04-30
Last Modified: 2013-11-23
Hi all,

I want to know how can I represent all database object to OOP? It means that I want to use property and method of class instead of using sql statement. For example, if I want to delete a student record I may call Delete method from student class then provide the ID that I want to delete. Could anyone provide me the good clue to do that?

Question by:sdieken
    LVL 23

    Accepted Solution

    I think You need to try an ORM (Object/Relational Model) engine like Hibernate which mapps the databse to java Objects.

    Check out

    I think this is one of the Best ORMs and its a OpenSource Project so try it out.

    Thank You.

    Author Comment

    Thank you

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
    The viewer will learn how to implement Singleton Design Pattern in Java.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now