Meaningless Drivel is fun!
The moose likes Object Relational Mapping and the fly likes Mapping Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Mapping Question" Watch "Mapping Question" New topic

Mapping Question

Anne Abraham

Joined: May 08, 2011
Posts: 3
I am using hibernate and spring 3.0 web mvc. I have a table A for which I have created a model class A(referred to as entity). Can I make a mapping from this entity class A to a table B that has no entity class defined for it, because it doesn't have to be a persistence object. I just need information from the table B to be manipulated inside the class A. Please help. I am pretty confused what annotations to use at this point.
I agree. Here's the link:
subject: Mapping Question
It's not a secret anymore!