This is an automated email from the ASF dual-hosted git repository. struberg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openjpa.git
commit e831faffe4aaf0b68d25aa896d0e4fc515aa6590 Author: Mark Struberg <strub...@apache.org> AuthorDate: Mon Aug 31 15:31:27 2020 +0200 OPENJPA-2795 improve MappingDefault IndexPhysicalForeignKeys description This flag controls whether the database specific flag from the DBDictionary will be used. --- openjpa-project/src/doc/manual/ref_guide_mapping.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openjpa-project/src/doc/manual/ref_guide_mapping.xml b/openjpa-project/src/doc/manual/ref_guide_mapping.xml index a998102..047ab01 100644 --- a/openjpa-project/src/doc/manual/ref_guide_mapping.xml +++ b/openjpa-project/src/doc/manual/ref_guide_mapping.xml @@ -1187,8 +1187,10 @@ database foreign key. Defaults to true. <listitem> <para> <literal>IndexPhysicalForeignKeys</literal>: Boolean property controlling -whether to create explicit indexes on real physical foreign keys. -The default value will be taken from the corresponding <literal>DBDictionary</literal> attribute. +whether to create explicit indexes for real physical foreign keys depending on +the corresponding <literal>DBDictionary</literal> attribute. +Set this to <litreral>true</litreral> if you want to make sure that foreign keys are indexed. +Defaults to false for backward compatibility reasons. </para> </listitem> <listitem>