How to represent the whole database to OOP

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?

Who is Participating?
Siva Prasanna KumarConnect With a Mentor Principal Solutions ArchitectCommented:
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.
sdiekenAuthor Commented:
Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.