• Post Reply Bookmark Topic Watch Topic
  • New Topic

mapping of entity beans with database table  RSS feed

 
srinivas hari
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

In ejb-jar.xml i found the tags to declare entity beans,cmp,cmr fields etc.but how to map an entity bean a database tabel.
 
Arun Natarajan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the ejb-jar.xml you define the abstract schema and the cmp, cmr fields; but the actual mapping to a table happens outside. It is container specific and done using container provided tools.
 
Vadiraja Dharmavaram
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank for the reply.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!