cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ana benko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2426) Generate DB Schema: no relationships are created by running Create FK Support separately
Date Thu, 12 Apr 2018 09:28:00 GMT
ana benko created CAY-2426:
------------------------------

             Summary: Generate DB Schema: no relationships are created by running Create FK
Support separately
                 Key: CAY-2426
                 URL: https://issues.apache.org/jira/browse/CAY-2426
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 4.0.B3, 4.1.M2
            Reporter: ana benko


# Run Generate DB Schema
 # Select Create Tables only. Run

-> corresponding tables created in DB (without relationships)
 # Run Generate DB Schema once more
 # Select Create FK Support only (to generate relationships). Generate. (select same db connection
and same db)
 # Check database

-> relationships are not created

-> no errors in Modeler's log or on Schema Generation Complete window
 # Copy sql script from Modeler's Generate DB Schema window, and run it in database

-> relationships are generated successfully



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message