• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can we map a single entity bean into multiple tables

 
vinaykrothapalli kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, friends
i am new to ejb i have a small question
how can we map a single entity bean to a multiple tables
please help me
vinay
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vinaykrothapalli kumar:
Hi, friends
i am new to ejb i have a small question
how can we map a single entity bean to a multiple tables
please help me
vinay


Some server like weblogic provides ability to map an entity to multiple tables.If you are not using such a server create a view joing mutliple tables and then map your entity to the view.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic