That has been fixed in 1.7.0-SNAPSHOT. It was a bug. Workaround: either, start using 1.7.0-SNAPSHOT (it is pretty stable) or overwrite the wrong template definition in templates::OracleDDL::foreignKeyColumn and templates::OracleDDL::uniManyForeignKeyColumn.
/Patrik Patrik Nordwall wrote: > > (re-posting this on behalf of Abhilash, since the question was hidden > inside another thread) > > Hi All, > I am using sculptor 1.6 and am facing some issues with the DDL Generation. > I am using the "inverse" relation between two entities. My database type > is defined via db.product=oracle. > Now, here is the problem. In the generated ddl for oracle, I am getting > the resultant ddl as > > CREATE TABLE PERSON ( > ID NUMBER(20) NOT NULL, > ENTITYID VARCHAR2(100) NOT NULL, > FIRSTNAME VARCHAR2(100), > CONTACT_INDEX INTEGER(10), > CLIENT NUMBER(20) > ); > > Running this in Oracle leads to problem, as the integer field doesn’t have > a length. > Is there a way to overcome this problem? > I have given the following values in the sculptor-generator > > db.oracle.type.PositiveInteger=NUMBER > db.oracle.type.Integer=NUMBER > db.oracle.type.Number=NUMBER > db.oracle.length.Integer=10 > db.oracle.type.int=NUMBER > db.oracle.type.BigInteger=NUMBER > db.oracle.type.discriminatorType.INTEGER=NUMBER > db.oracle.length.discriminatorType.INTEGER=5 > > > Regards > Abhilash > ------------------------- > -- View this message in context: http://www.nabble.com/-sculptor--Number-problem-in-DDL-tp25860060s17564p25860328.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer