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
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
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
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
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
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.
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
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
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