[jOOQ/jOOQ#11778] Switch named/indexed param mapping defaults of records

This commit is contained in:
Lukas Eder 2021-04-19 15:21:49 +02:00
parent ccc4e31492
commit f831677db0
2 changed files with 3 additions and 3 deletions

View File

@ -198,8 +198,8 @@ public class Settings
protected Boolean returnRecordToPojo = true;
@XmlElement(defaultValue = "true")
protected Boolean mapJPAAnnotations = true;
@XmlElement(defaultValue = "true")
protected Boolean mapRecordComponentParameterNames = true;
@XmlElement(defaultValue = "false")
protected Boolean mapRecordComponentParameterNames = false;
@XmlElement(defaultValue = "true")
protected Boolean mapConstructorPropertiesParameterNames = true;
@XmlElement(defaultValue = "false")

View File

@ -446,7 +446,7 @@ IDENTITY values, and if <returnAllOnUpdatableRecord/> is active, also other valu
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Whether JPA annotations should be considered by the DefaultRecordMapper.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="mapRecordComponentParameterNames" type="boolean" minOccurs="0" maxOccurs="1" default="true">
<element name="mapRecordComponentParameterNames" type="boolean" minOccurs="0" maxOccurs="1" default="false">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Whether constructor parameter names obtained from the {@link java.lang.Record} component names should be considered by the DefaultRecordMapper.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>