Thomas Dudziak wrote:

BOUESSAY Christian wrote:

There is an association (1:n) between 2 classes:
[..]
In the project-schema.xml, there is no <foreign-key> declaration for the table OM ...


What did I miss?

For collections, the generation of foreignkeys in the database is currently not supported due to the complexities involved when having indirection tables, inheritance etc.


Could you explain, where the complexity comes from?

The requirement to define foreign keys on the database schema seems
reasonable to me. At least, I've copied the schema definition in my application
and added foreign key constraints to it.


Maybe one could take some assumptions and eliminate the need for a manual step
in a simple setup without redirection tables and inheritance and ...?


Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to