empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Albrecht (Created) (JIRA)" <empire-db-...@incubator.apache.org>
Subject [jira] [Created] (EMPIREDB-128) Velocity Template Table.vm does not handle tables without primary keys
Date Mon, 23 Jan 2012 14:20:43 GMT
Velocity Template Table.vm does not handle tables without primary keys
----------------------------------------------------------------------

                 Key: EMPIREDB-128
                 URL: https://issues.apache.org/jira/browse/EMPIREDB-128
             Project: Empire-DB
          Issue Type: Bug
          Components: CodeGenerator
    Affects Versions: empire-db-2.2.0-incubating
            Reporter: Christian Albrecht
            Priority: Minor
         Attachments: empire-db-codegen.patch

After generating sources for a few tables and getting compile errors, I noticed the Table.vm
template does not handle tables without primary keys.
A line with the method call 'setPrimaryKey(new DBTableColumn[] { ' was created, which is obviously
not complete and can be omited.
I created a patch that targets this problem. The patch file is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message