• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mapping Question

 
Anne Abraham
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!