• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

[SCBCD 1.3] tables names for CMP entity beans

 
Ranch Hand
Posts: 563
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic