Skip to content

Commit 531e267

Browse files
committed
HHH-19301 Fully qualified name import should be used instead of simple name when generation 'implements' for Jakarda Data metamodel class
1 parent eb63da9 commit 531e267

File tree

1 file changed

+1
-1
lines changed
  • tooling/metamodel-generator/src/main/java/org/hibernate/processor

1 file changed

+1
-1
lines changed

tooling/metamodel-generator/src/main/java/org/hibernate/processor/ClassWriter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ else if ( modifiers.contains( Modifier.PROTECTED ) ) {
238238
}
239239
if ( entity.isImplementation() ) {
240240
pw.print( entity.getElement().getKind() == ElementKind.CLASS ? " extends " : " implements " );
241-
pw.print( entity.getSimpleName() );
241+
pw.print( entity.importType( (entity.getQualifiedName()) ) );
242242
}
243243

244244
pw.println( " {" );

0 commit comments

Comments
 (0)