Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is abstract-schema-name Mandatory

 
Mohammed Eesa
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is <abstract-schema-name> deployment descriptor element in the ejb-jar file is mandatory.In Ed Roman it is specified as optional.
 
James Turner
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes its optional.

I expect it is something to do with BMP. With BMP the programmer specifies all persistence in the bean code, therefore persistent elements in the DD are not needed.

James.
[ November 19, 2004: Message edited by: James Turner ]
 
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

spec p.469:
the optional abstract-schema-name element must be specified for an entity bean with contzainer-managed persistence and cmp-version 2.x


So, it's optional but in a certain sense, depending of which kind of persistence you use...

Regards,
Cyril.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic