{"record":{"id":"a0e217ac5563cd23","repo":"hibernate/hibernate-orm","slug":"could-not-resolve-propertyaccess-for-propertyn","errorCode":null,"errorMessage":"Could not resolve PropertyAccess for \" + propertyName + \" on \" + containerJavaType","messagePattern":"Could not resolve PropertyAccess for \" \\+ propertyName \\+ \" on \" \\+ containerJavaType","errorType":"exception","errorClass":"PropertyNotFoundException","httpStatus":null,"severity":"error","filePath":"hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyChainedImpl.java","lineNumber":33,"sourceCode":"public class PropertyAccessStrategyChainedImpl implements PropertyAccessStrategy {\n\tprivate final PropertyAccessStrategy[] chain;\n\n\tpublic PropertyAccessStrategyChainedImpl(PropertyAccessStrategy... chain) {\n\t\tthis.chain = chain;\n\t}\n\n\t@Override\n\tpublic PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) {\n\t\tfor ( var candidate : chain ) {\n\t\t\ttry {\n\t\t\t\treturn candidate.buildPropertyAccess( containerJavaType, propertyName, true );\n\t\t\t}\n\t\t\tcatch (Exception ignore) {\n\t\t\t\t// ignore\n\t\t\t}\n\t\t}\n\n\t\tthrow new PropertyNotFoundException( \"Could not resolve PropertyAccess for \" + propertyName + \" on \" + containerJavaType );\n\t}\n}\n","sourceCodeStart":15,"sourceCodeEnd":36,"githubUrl":"https://github.com/hibernate/hibernate-orm/blob/fad1729dce015f908198d57a8d80274a30f905a5/hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyChainedImpl.java#L15-L36","documentation":"Error \"Could not resolve PropertyAccess for \" + propertyName + \" on \" + containerJavaType\" thrown in hibernate/hibernate-orm.","triggerScenarios":"A name referenced in a mapping, query, or configuration cannot be resolved at runtime.","commonSituations":"Typos in entity/attribute/mapping names, missing mappings, or refactoring without updating references.","solutions":["Ensure each element in the chained property path is non-null and resolvable.","Verify intermediate embeddables/associations in the chain are mapped correctly."],"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"}