• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ejb-jar

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the ejb-jar the <abstract-schema-name> is it the name of the table in the
database to which the particular entity bean is related?
Or
Is it the name of the package in which there is home,remote interfaces, entity
bean and the primary class resides??
 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
It refers to the table name. The Abstract Schema name is then used in EJB-QL defined in ejb-jar.xml.
<abstract-schema-name>AccountBean</abstract-schema-name>
.....
<ejb-ql>
<![CDATA[SELECT OBJECT(a) FROM AccountBean AS a WHERE a.balance > ?1]]>
</ejb-ql>
If using weblogic, the actual table name is defined in the weblogic-cmp-rdbms-jar.xml file
<weblogic-rdbms-bean>
<ejb-name>containerManaged</ejb-name>
<data-source-name>oratxsource</data-source-name>
<table-map>
<table-name>SalesAccounts</table-name>
HTH,
Seetesh
 
reply
    Bookmark Topic Watch Topic
  • New Topic