• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find out objects from relational databases

 
suresh charan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way through which i can find out the possible objects from ralational database schema.For example,Say Employee schema has three tables Employee,Departments,Emp_Departments(a mapping table).In this case,i have two possible business objects namely Employee,Departments.

Is it same as reverse engineering of object relational mapping?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it is kind of a process you have to go through. you have to figure out what you want as your Object model that is as OO as possible, and then map you classes to the data model.

You can also use reverse engineering to have say Hibernate automatically create your mapping files, and from there create your Java objects.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic