{"record":{"id":"f74626088a62ef5f","repo":"hibernate/hibernate-orm","slug":"unable-to-parse-object-name-text","errorCode":null,"errorMessage":"Unable to parse object name: <text>","messagePattern":"Unable to parse object name: <text>","errorType":"exception","errorClass":"HibernateException","httpStatus":null,"severity":"error","filePath":"hibernate-core/src/main/java/org/hibernate/boot/model/relational/QualifiedNameParser.java","lineNumber":139,"sourceCode":"\t\tboolean schemaWasQuoted = false;\n\t\tboolean nameWasQuoted;\n\n\t\tfinal String[] tokens = StringHelper.split( \".\", text );\n\t\tif ( tokens.length == 0 || tokens.length == 1 ) {\n\t\t\t// we have just a local name...\n\t\t\tname = text;\n\t\t}\n\t\telse if ( tokens.length == 2 ) {\n\t\t\tschemaName = tokens[0];\n\t\t\tname = tokens[1];\n\t\t}\n\t\telse if ( tokens.length == 3 ) {\n\t\t\tcatalogName = tokens[0];\n\t\t\tschemaName = tokens[1];\n\t\t\tname = tokens[2];\n\t\t}\n\t\telse {\n\t\t\tthrow new HibernateException( \"Unable to parse object name: \" + text );\n\t\t}\n\n\t\tnameWasQuoted = Identifier.isQuoted( name );\n\t\tif ( nameWasQuoted ) {\n\t\t\tname = unquote( name );\n\t\t}\n\n\t\tif ( schemaName != null ) {\n\t\t\tschemaWasQuoted = Identifier.isQuoted( schemaName );\n\t\t\tif ( schemaWasQuoted ) {\n\t\t\t\tschemaName = unquote( schemaName );\n\t\t\t}\n\t\t}\n\t\telse if ( defaultSchema != null ) {\n\t\t\tschemaName = defaultSchema.getText();\n\t\t\tschemaWasQuoted = defaultSchema.isQuoted();\n\t\t}\n","sourceCodeStart":121,"sourceCodeEnd":157,"githubUrl":"https://github.com/hibernate/hibernate-orm/blob/fad1729dce015f908198d57a8d80274a30f905a5/hibernate-core/src/main/java/org/hibernate/boot/model/relational/QualifiedNameParser.java#L121-L157","documentation":"Error \"Unable to parse object name: <text>\" thrown in hibernate/hibernate-orm.","triggerScenarios":"An entity mapping annotation or bootstrap configuration violates a Hibernate mapping rule.","commonSituations":"Annotation mapping mistakes: inverse-side @Id associations, @Column on @OneToOne, unmapped association targets, mismatched @EnumeratedValue/@Temporal usage, duplicate sequence generators.","solutions":["Fix the qualified name syntax (e.g. catalog.schema.object); quote parts containing dots or special characters."],"exampleFix":"Fix the qualified name syntax (e.g. catalog.schema.object); quote parts containing dots or special characters.","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"}