This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes First day == help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "First day == help" Watch "First day == help" New topic
Author

First day == help

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

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.
 
Don't get me started about those stupid light bulbs.
 
subject: First day == help
 
Similar Threads
Local Entity Bean not bound in EJB 2.1 on JBoss 4.2.3 server
JBOSS CMP finder methods
How to define <ejb-link> if the ejb resides in another EAR
CMP Bean
Is there a problem here ?