• 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

entity beans deployment descriptors

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to deploy container-managed entity beans on Weblogic 6.0 using jDriver for Oracle 8.1.6. I have problems with my <persistence-descriptor> fields. I have put them in the weblogic-ejb-jar.xml file but get the error that they must be declared. What does this mean?
Also, if my primary key is not a class but a String, what do I put in the <prim-key-class> field?
thanx,
si
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
You can see an example about the persistent descriptor for EJB1.1 at:
WL_HOME\samples\examples\ejb\basic\containerManaged\package-summary.html
in your instalation of WebLogic
and for EJB2.0 at:
WL_H0ME\samples\examples\ejb20\basic\beanManaged\package-summary.html
In your primary key class you should put:
<prim-key-class>java.lang.String</prim-key-class>
 
reply
    Bookmark Topic Watch Topic
  • New Topic