C M P   2 . 0  
relationship is declared in the relationships section of the jbosscmp jdbc.xml file. 
Relationships are identified by the ejb relation name from the ejb jar.xml file. The basic 
template of the relationship mapping declaration for Organization Gangster follows: 
 
    
       
         
Organization Gangster
 
         
          | Mapping style declaration  
          |  or  
            > 
         
false
 
         
300
 
          
             
org has gangsters
 
            
true
 
             
                
             
            
on load
 
          
          
             
gangster belongs to org
 
            
true
 
             
                
             
            
on load
 
          
       
    
 
Listing 9 9, The jbosscmp jdbc.xml Relationship Mapping Template 
After the ejb relation name of the relationship being mapped is declared, the mapping style 
must be declared using a foreign key mapping element or a relation table mapping element, 
both of which are discussed later.  The ejb relationship role elements are optional, but if one 
90






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved