You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by ao <a-...@mindspring.com> on 2007/06/18 19:29:39 UTC

OR mapping

Is there a way to generate the OR mapping (example below) from a table using
SchemaTool or MappingTool or others? Thanks.


        

        
        
            
                
            
            
            ...
        
    
-- 
View this message in context: http://www.nabble.com/OR-mapping-tf3941747.html#a11180380
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: OR mapping

Posted by Marc Prud'hommeaux <mp...@apache.org>.
I didn't see any example, but if you want to generate classes and  
mappings from a database schema, you can use the "reverse mapping  
tool". See the documentation at http://openjpa.apache.org/docs/latest/ 
manual/manual.html#ref_guide_pc_reverse , and there is a sample in  
recent OpenJPA builds under the "reversemapping" example.


On Jun 18, 2007, at 10:29 AM, ao wrote:

>
> Is there a way to generate the OR mapping (example below) from a  
> table using
> SchemaTool or MappingTool or others? Thanks.
>
>
>
>
>
>
>
>
>
>
>             ...
>
>
> -- 
> View this message in context: http://www.nabble.com/OR-mapping- 
> tf3941747.html#a11180380
> Sent from the OpenJPA Users mailing list archive at Nabble.com.