aspose file tools*
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Mapping Question" Watch "Mapping Question" New topic
Author

Mapping Question

Anne Abraham
Greenhorn

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: http://aspose.com/file-tools
 
subject: Mapping Question
 
Similar Threads
issues with hibernate lazy settings
mapping one pojo with multiple tables
Eager Fetching a Polymorphic SET
Create tables in different database schemas using EJB 3 Entity Persistent
Best inheritance mapping strategy..