Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-18 Thread Patrik Nordwall
Perfect, Thanks a lot René! I have created a jira for this: http://www.fornax-platform.org/tracker/browse/CSC-183 /Patrik -- View this message in context: http://www.nabble.com/Starting-Support-for-Apache-Derby-tp14804464s17564p14957771.html Sent from the Fornax-Platform mailing list archive

Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-18 Thread rmischak
Short Guide to use Derby 1. Download and install Derby 10.3.2.1 http://db.apache.org/derby/ 2. Configure the helloworld project. 2.1. Add helloworld\src\main\resources\templates\CustomDDL.xpt with content from below 2.2. Add properties to helloworld\src\main\resources\sculptor-generator.properti

Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-17 Thread Patrik Nordwall
Thank you for the Derby contribution! Could you give us a short guide of how to configure and deploy derby. Links to existing documentation is good, but I'm looking for your recommendation of how to do it easiest/best. How are you running it? Then we can try it on a bigger example application an

Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-17 Thread rmischak
Hello. Thank you very much for fixing the bug! The ddl is now generated correctly. One last issue remains. The Hibernate mapping files are generated containing this: This does not work out of the box with derby. Also see http://opensource.atlassian.com/projects/hibernate/browse/H

Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-16 Thread Patrik Nordwall
Jira: http://www.fornax-platform.org/tracker/browse/CSC-182 Fixed. Thank you for finding this. The fault was that 'opposite' should have been used. Oracle template looks like this now: «DEFINE foreignKeyConstraint FOR Reference-» ALTER TABLE «from.getDatabaseName()» ADD CONSTRAINT FK_«truncateL

Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-16 Thread Patrik Nordwall
This looks like a bug. I think I can fix it later tonight. /Patrik -- View this message in context: http://www.nabble.com/Starting-Support-for-Apache-Derby-tp14804464s17564p14882197.html Sent from the Fornax-Platform mailing list archive at Nabble.com.

Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-16 Thread rmischak
Hello. I made some progress, integrated enum support and will hopefully soon post a new version. Please help me with my next problem: I try to generate the ddl with this alter table statement: ALTER TABLE MOON ADD CONSTRAINT FK_MOON_PLANET FOREIGN KEY (PLANET_ID) REFERENCES PLANET (ID

[Fornax-developer] Starting Support for Apache Derby

2008-01-15 Thread rmischak
I was able to create a working ddl for the sample helloworld-web for Apache Derby by folowing the developers guide http://fornax-platform.org/cp/x/dAQ. My changes are far from complete and correct - they are rather quick and dirty - but may be a starting point to support Apache Derby. My sculptor

Re: [Fornax-developer] Starting Support for Apache Derby

2008-01-14 Thread Patrik Nordwall
Good! I have added some enum stuff lately. Maybe that is something you need to add also. If you diff the OracleDDL.xpt or MysqlDDL.xpt you can see the changes. /Patrik -- View this message in context: http://www.nabble.com/Starting-Support-for-Apache-Derby-tp14804464s17564p14811160.html Sent