empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis De Brabandere (Assigned) (JIRA)" <empire-db-...@incubator.apache.org>
Subject [jira] [Assigned] (EMPIREDB-128) Velocity Template Table.vm does not handle tables without primary keys
Date Mon, 23 Jan 2012 17:06:40 GMT

     [ https://issues.apache.org/jira/browse/EMPIREDB-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Francis De Brabandere reassigned EMPIREDB-128:

    Assignee: Francis De Brabandere
> 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
>            Assignee: Francis De Brabandere
>            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


View raw message