Hi Patrik,
Is there any chance of a minor bump in the 1.5 release branch for this? I'm
seeing this in a fielded product and it'll be a little while before we can
update to the next snapshot branch.
As a related note, since we now have a fielded product, does Sculptor have a
philosophy on how to do a database upgrade? We can't actually rerun run the
DDL directly because it would whack a lot of customer data. We've kicked
around ideas ranging from hand writing alter scripts to exporting and
reimporting the DB every time.
Thanks,
Jeff
On Sun, Mar 1, 2009 at 7:07 PM, r_star <ronald_starl...@intuit.com> 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-tp22279961s17564p22279961.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
> Fornax-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
------------------------------------------------------------------------------
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
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer