I looked after this but I didn't understand the method doBuild :-(


                                                                                
                                   
                    Thomas                                                      
                                   
                    Fischer              Pour :  "Apache Torque Users List" 
<[email protected]>            
                    <[EMAIL PROTECTED]        cc :                              
                                        
                    enbau.net>           Objet :      RE: foreign key           
                                   
                                                                                
                                   
                    08/06/2005                                                  
                                   
                    10:06                                                       
                                   
                    Veuillez                                                    
                                   
                    r�pondre �                                                  
                                   
                    "Apache                                                     
                                   
                    Torque Users                                                
                                   
                    List"                                                       
                                   
                                                                                
                                   
                                                                                
                                   








Hi,

you can ask the generated MapBuilder class whether a column is a foreign
key.

For this, use
MapBuilder.getDatabaseMap();

Look at the doBuild() method of a generated MapBuilder to see what
informations are put in there.

You can get the MapBuilder of a Peer class by its getMapBuilder() method

   Thomas


[EMAIL PROTECTED] schrieb am 07.06.2005 17:56:49:

> Hello,
>
> there is a method which tests if the field is a foreign key ?
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to