{"record":{"id":"ce70b005a01bd028","repo":"hibernate/hibernate-orm","slug":"error-transforming-property","errorCode":null,"errorMessage":"Error transforming <property/> : {}","messagePattern":"Error transforming <property/> : (.+?)","errorType":"exception","errorClass":"TransformationException","httpStatus":null,"severity":"error","filePath":"hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java","lineNumber":2133,"sourceCode":"\t\t}\n\t\tcatch (Exception e) {\n\t\t\tthrow new TransformationException( \"Error processing entity attributes : \" + entityTypeInfo.getPersistentClass().getEntityName(), e, origin() );\n\t\t}\n\t}\n\n\tprivate void transferBaseAttributes(\n\t\t\tString roleBase,\n\t\t\tList<?> hbmAttributeMappings,\n\t\t\tManagedTypeInfo managedTypeInfo,\n\t\t\tJaxbAttributesContainer attributes) {\n\t\tfor ( Object hbmAttributeMapping : hbmAttributeMappings ) {\n\t\t\tif ( hbmAttributeMapping instanceof JaxbHbmBasicAttributeType basic ) {\n\t\t\t\ttry {\n\t\t\t\t\tfinal var propertyInfo = managedTypeInfo.propertyInfoMap().get( basic.getName() );\n\t\t\t\t\tattributes.getBasicAttributes().add( transformBasicAttribute( basic, propertyInfo ) );\n\t\t\t\t}\n\t\t\t\tcatch (Exception e) {\n\t\t\t\t\tthrow new TransformationException( \"Error transforming <property/> : \" + basic.getName(), e, origin() );\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if ( hbmAttributeMapping instanceof JaxbHbmCompositeAttributeType hbmComponent ) {\n\t\t\t\ttry {\n\t\t\t\t\tfinal String componentRole = roleBase + \".\" + hbmComponent.getName();\n\t\t\t\t\tfinal var componentTypeInfo = transformationState.getEmbeddableInfoByRole().get( componentRole );\n\t\t\t\t\tfinal var jaxbEmbeddable = componentHandler.applyEmbeddable(\n\t\t\t\t\t\t\troleBase,\n\t\t\t\t\t\t\thbmComponent,\n\t\t\t\t\t\t\tcomponentTypeInfo\n\t\t\t\t\t);\n\t\t\t\t\tfinal var embedded = componentHandler.transformEmbedded( jaxbEmbeddable, hbmComponent, componentTypeInfo );\n\t\t\t\t\ttransferAccess(\n\t\t\t\t\t\t\thbmComponent.getAccess(),\n\t\t\t\t\t\t\tembedded::setAccess,\n\t\t\t\t\t\t\tembedded::setAttributeAccessor\n\t\t\t\t\t);\n\t\t\t\t\tattributes.getEmbeddedAttributes().add( embedded );","sourceCodeStart":2115,"sourceCodeEnd":2151,"githubUrl":"https://github.com/hibernate/hibernate-orm/blob/fad1729dce015f908198d57a8d80274a30f905a5/hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java#L2115-L2151","documentation":"Error \"Error transforming <property/> : {}\" thrown in hibernate/hibernate-orm.","triggerScenarios":"The hbm.xml to mapping.xml transformer hits an unexpected structure.","commonSituations":"Converting legacy hbm.xml documents containing constructs the transformer does not handle.","solutions":["Inspect the reported <property/> element in the hbm.xml for unsupported or malformed attributes (type, column, formula).","Check the causal exception to find which aspect of the property failed to transform.","Fix the property mapping (e.g. correct type name, column references) and retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fad1729dce015f908198d57a8d80274a30f905a5","analyzedAt":"2026-08-22T04:13:57.527Z","schemaVersion":2},"datasetVersion":"2026-08-22T09:17:25.309Z"}