Hello,

the sculptor generated DDL for oracle is not well formed. At the end of a
CREATE TABLE statement is an empty line before the last ');'. 
I use OracelXE Version 10.2.0.1.0 and execute the DDL with the sqlplus
command. Oracle can´t execute the DDL.

CREATE TABLE DUMMY_NAME (
  NAME NUMBER(20) NOT NULL,
  DUMMYENTITY NUMBER(20) NOT NULL   
             
);

I fixed the problem for me. In the SpecialCases i add an "«AROUND
templates::OracleDDL::createTable FOR DomainObject»" and removed the empty
line at the end of the statement.
Now it looks like this and oracle has no problems with the statement.

CREATE TABLE DUMMY_NAME (
  NAME NUMBER(20) NOT NULL,
  DUMMYENTITY NUMBER(20) NOT NULL                
);

Please remove the empty line in the OracleDDL.xpt in the next version.
Thanks Markus
-- 
View this message in context: 
http://www.nabble.com/generated-DDL-for-oracle-not-well-formed-tp22697785s17564p22697785.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to