cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srikrishnaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-1579) Should warn on data type mismatch for PRIMARY KEY and FOREIGN KEY
Date Wed, 08 Jun 2011 05:48:59 GMT
Should warn on data type mismatch for PRIMARY KEY and FOREIGN KEY  
-------------------------------------------------------------------

                 Key: CAY-1579
                 URL: https://issues.apache.org/jira/browse/CAY-1579
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 3.0.1
            Reporter: srikrishnaprasad


1.create an dbentity "oneentity" with a primary key attribute "id" of datatype "integer".
2.create an dbentity "twoentity" with a foreign key attribute "one_id" of any datatype.
3.create a relationship between oneentity and twoentity using joins source as "id" and target
as "one_id".
4.press done it should raise error that data type mismatch but it is not raising any error.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message