SQL scripts generation for OpenJPA
----------------------------------

                 Key: ODE-227
                 URL: https://issues.apache.org/jira/browse/ODE-227
             Project: ODE
          Issue Type: Bug
          Components: Build System
    Affects Versions: 1.1, 1.0-incubating, 1.1.1, 1.2
         Environment: Windows XP Pro, JDK 1.5.0.07, Oracle 10g XE, Apache 
Tomcat 5.5.25
            Reporter: Alexey Ousov


SQL scripts generated by build system for OpenJPA have just indexed fields 
instead of foreign keys. This issue occurs due to OpenJPA by default thinks 
that all FK associations are logical. Adding OpenJPA option 
"openjpa.jdbc.MappingDefaults" = "jpa(ForeignKeyDeleteAction=cascade)" is 
needed to fix this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to