• 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:

First day == help

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey ranchers.
this is first day with jboss so please be patient this week !
I have two entity beans : DeptBean and EmployeeBean
this is the database schema for these 2 bean :
DeptBean :
ID, DESCRIPTION // ID is PK
id, description // ejb-jar.xml
EmployeeBean:
NUM, NAME, ID // NUM is PK & ID is the PK of DeptBean
num, name, id // ejb-jar.xml
of course the relationship is one-many.
I don't know how to set this relation at jboss-jdbc.xml , so would mind posting just the relationships element that compatibile with my 2 bean ??
its not clear to me, as I know I should mix the name of the fields with
their equivalents in ejb-jar.xml to produce relationships element.
thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic