ana benko created CAY-2426:

             Summary: Generate DB Schema: no relationships are created by 
running Create FK Support separately
                 Key: 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 

-> relationships are generated successfully

This message was sent by Atlassian JIRA

Reply via email to