Thanks for reporting. I have created a jira issue:
http://www.fornax-platform.org/tracker/browse/CSC-310
As a workaround you can try to add a dummy String attribute to the entity.
/Patrik
r_star wrote:
>
> Hello
>
> Using the following DSL in model.design...
>
> Application ddlbugapp
> {
> basePackage=com.test.pkg
> Module ddlbug
> {
>
> Entity ConcreteEngEntity
> {
> - @PYDEntity trPYDEntity <-> ceeEntity
> }
>
>
> Entity PYWEntity
> {
> !aggregateRoot
> !auditable
> - @PYDEntity PYDEntity <-> PYWEntitys
> }
>
> Entity PYDivEntity
> {
> !aggregateRoot
> !auditable
> - @PYDEntity PYDEntity <-> PYDivEntitys
> }
>
> Entity PYIEntity
> {
> !aggregateRoot
> !auditable
> - @PYDEntity PYDEntity <-> PYIEntity
> }
>
> Entity PYDEntity
> {
> !aggregateRoot
> !auditable
> - @ConcreteEngEntity ceeEntity <-> trPYDEntity
> - Set<@PYIEntity> PYIEntity <-> PYDEntity
> - Set<@PYDivEntity> PYDivEntitys <-> PYDEntity
> - Set<@PYWEntity> PYWEntitys <-> PYDEntity
> }
> }
> }
>
> ...results in a CREATE in my DDL that looks like the following...
>
>
> CREATE TABLE PYDENTITY (
> ID NUMBER(20) NOT NULL,
> UUID VARCHAR2(255) NOT NULL,
> VERSION NUMBER(20) NOT NULL ,
>
>
> );
>
>
> Notice the trailing comma.
>
> From my POM...
>
> groupId: org.fornax.cartridges
> artifactId: fornax-cartridges-sculptor-generator
> version: 1.5.0
>
> groupId:org.fornax.cartridges
> artifactId: fornax-cartridges-sculptor-framework
> version: 1.5.0
>
> I would appreciate any help/fixes.
>
--
View this message in context:
http://www.nabble.com/Trailing-Comma-in-Generated-DDL-tp22279961s17564p22296549.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer