|
43 | 43 | import org.hibernate.type.descriptor.jdbc.StructuredJdbcType; |
44 | 44 | import org.hibernate.type.spi.TypeConfiguration; |
45 | 45 |
|
46 | | -import static org.hibernate.type.descriptor.jdbc.StructHelper.getEmbeddedPart; |
| 46 | +import static org.hibernate.type.descriptor.jdbc.StructHelper.getSubPart; |
47 | 47 | import static org.hibernate.type.descriptor.jdbc.StructHelper.instantiate; |
48 | 48 | import static org.hibernate.type.descriptor.DateTimeUtils.appendAsDate; |
49 | 49 | import static org.hibernate.type.descriptor.DateTimeUtils.appendAsLocalTime; |
@@ -999,7 +999,7 @@ private SelectableMapping getJdbcValueSelectable(int jdbcValueSelectableIndex) { |
999 | 999 | final int size = numberOfAttributeMappings + ( embeddableMappingType.isPolymorphic() ? 1 : 0 ); |
1000 | 1000 | int count = 0; |
1001 | 1001 | for ( int i = 0; i < size; i++ ) { |
1002 | | - final ValuedModelPart modelPart = getEmbeddedPart( embeddableMappingType, orderMapping[i] ); |
| 1002 | + final ValuedModelPart modelPart = getSubPart( embeddableMappingType, orderMapping[i] ); |
1003 | 1003 | if ( modelPart.getMappedType() instanceof EmbeddableMappingType embeddableMappingType ) { |
1004 | 1004 | final SelectableMapping aggregateMapping = embeddableMappingType.getAggregateMapping(); |
1005 | 1005 | if ( aggregateMapping == null ) { |
@@ -1378,7 +1378,7 @@ private StructAttributeValues getAttributeValues( |
1378 | 1378 | attributeIndex = orderMapping[i]; |
1379 | 1379 | } |
1380 | 1380 | jdbcIndex += injectAttributeValue( |
1381 | | - getEmbeddedPart( embeddableMappingType, attributeIndex ), |
| 1381 | + getSubPart( embeddableMappingType, attributeIndex ), |
1382 | 1382 | attributeValues, |
1383 | 1383 | attributeIndex, |
1384 | 1384 | rawJdbcValues, |
|
0 commit comments