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?

Thanks
sdiekenAsked:
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

http://www.hibernate.org/

http://www.onjava.com/pub/a/onjava/2004/01/14/hibernate.html

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

Thank You.
0
 
sdiekenAuthor Commented:
Thank you
0
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.