File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
hibernate-core/src/main/java/org/hibernate/boot/model/internal Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -515,12 +515,6 @@ static Component fillEmbeddable(
515515 subclassToSuperclass
516516 );
517517
518- // //sort elements according to the ComponentPropertyHolder
519- // classElements.sort( EmbeddableBinder::embeddableLast );
520- // if ( ReflectHelper.isRecord(component.getComponentClass()) ) {
521- // component.setSimpleRecord( true );
522- // }
523-
524518 if ( component .isPolymorphic () ) {
525519 validateInheritanceIsSupported ( subholder , compositeUserType );
526520 final BasicType <?> discriminatorType = (BasicType <?>) component .getDiscriminator ().getType ();
@@ -762,14 +756,6 @@ private static List<PropertyData> collectClassElements(
762756 return classElements ;
763757 }
764758
765- private static int embeddableLast (
766- PropertyData elementA ,
767- PropertyData elementB ) {
768- final boolean elementAEmbeddable = elementA .getAttributeMember ().getType ().determineRawClass ().hasDirectAnnotationUsage ( Embeddable .class );
769- final boolean elementBEmbeddable = elementB .getAttributeMember ().getType ().determineRawClass ().hasDirectAnnotationUsage ( Embeddable .class );
770- return Boolean .compare ( elementAEmbeddable , elementBEmbeddable );
771- }
772-
773759 private static void collectSubclassElements (
774760 AccessType propertyAccessor ,
775761 MetadataBuildingContext context ,
You can’t perform that action at this time.
0 commit comments