• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[SCBCD 1.3] tables names for CMP entity beans

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am just a bit surprised that there is not any trace in the deployment descriptor ejb-jar.xml of the way CMP entity beans know where to look at exactly in the database. I mean the names of the tables have to be specified in the application server deployment descriptor.
For instance with Jonas, inside jonas-ejb-jar.xml, you use the tag to link a CMP entity bean with a table. So, it is container vendor specific.

How come there is no such tag in ejb-jar.xml ?
[ June 25, 2007: Message edited by: Celinio Fernandes ]
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it's vendor specific. If you use Sun Java System Application Server, there's a DD called sun-cmp-mapping.xml that gives you all the mapping information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic