> Understood. I was however under the impression that correctly > annotated relations would make it unnecessary to resort to database > metadata to build a correct dependency graph --it appears that's > not the case.
There are settings under which OpenJPA will assume all relations are represented by database foreign keys, but that's not the default. Under default settings OpenJPA expects @ForeignKey annotations for physical foreign keys, or setting the SchemaFactory to use DatabaseMetaData to find them. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
