How to force kodo to generate the Foreign Keys while creating the SQL script?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Brian_Grey
Posted On:   Sunday, February 6, 2005 10:30 AM

I'm trying to generate the SQL script using the schema.xml that Kodo generated. The Foreign Keys are still missing in the script. But they exist in the schema.xml. I put this line inside the kodo.properties but nothing has changed kodo.jdbc.ForeignKeyConstraints: true How can I force kodo to generate the Foreign Keys while creating the SQL script? Thanks kodo.properties kodo.LicenseKey=XXXX-XXXX-XXXX-XXXX-XXXX kodo.ee.ManagedRuntimeProperties=TransactionManagerName=java:/TransactionManager kodo.Log: DefaultLevel=ERROR javax.jdo.Persisten   More>>

I'm trying to generate the SQL script using the schema.xml that Kodo generated. The Foreign Keys are still missing in the script. But they exist in the schema.xml.



I put this line inside the kodo.properties but nothing has changed


kodo.jdbc.ForeignKeyConstraints: true






How can I force kodo to generate the Foreign Keys while creating the SQL script?





Thanks






kodo.properties




kodo.LicenseKey=XXXX-XXXX-XXXX-XXXX-XXXX

kodo.ee.ManagedRuntimeProperties=TransactionManagerName=java:/TransactionManager

kodo.Log: DefaultLevel=ERROR




javax.jdo.PersistenceManagerFactoryClass=kodo.jdbc.runtime.JDBCPersistenceManagerFactory

javax.jdo.option.ConnectionDriverName=oracle.jdbc.driver.OracleDriver

javax.jdo.option.ConnectionUserName=USERNAME

javax.jdo.option.ConnectionPassword=PASSWORD

javax.jdo.option.ConnectionURL=jdbc racle:thin:@coyote:1521 EV

javax.jdo.option.Optimistic=true

javax.jdo.option.RetainValues=true

javax.jdo.option.NontransactionalRead=true







build.xml

......





















































































......






schema.xml








......

















......





   <<Less
About | Sitemap | Contact