Skip to content

Commit e1fc61b

Browse files
committed
fix documentation error
1 parent 696d736 commit e1fc61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/src/main/asciidoc/introduction/Interacting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ class BookQueries {}
13091309
We have to make sure that the class with the `@NamedQuery` annotation will be scanned by Hibernate, either:
13101310

13111311
- by adding `<class>org.hibernate.example.BookQueries</class>` to `persistence.xml`, or
1312-
- by calling `configuration.addClass(BookQueries.class)`.
1312+
- by calling `persistenceConfiguration.managedClass(BookQueries.class)`.
13131313

13141314
[TIP]
13151315
====

0 commit comments

Comments
 (0)