Skip to content

Commit cb1bc94

Browse files
committed
HHH-18863 allow index creation to be disabled in processor
also cache enum results read from index
1 parent d25b459 commit cb1bc94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ && packagePresent(quarkusOrmPanachePackage) ) {
291291
context.setInclude( options.getOrDefault( INCLUDE, "*" ) );
292292
context.setExclude( options.getOrDefault( EXCLUDE, "" ) );
293293

294-
context.setIndexing( parseBoolean( options.get( INDEX ) ) );
294+
context.setIndexing( parseBoolean( options.getOrDefault( INDEX, "true" ) ) );
295295

296296
return parseBoolean( options.get( FULLY_ANNOTATION_CONFIGURED_OPTION ) );
297297
}

0 commit comments

Comments
 (0)