We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696d736 commit e1fc61bCopy full SHA for e1fc61b
documentation/src/main/asciidoc/introduction/Interacting.adoc
@@ -1309,7 +1309,7 @@ class BookQueries {}
1309
We have to make sure that the class with the `@NamedQuery` annotation will be scanned by Hibernate, either:
1310
1311
- by adding `<class>org.hibernate.example.BookQueries</class>` to `persistence.xml`, or
1312
-- by calling `configuration.addClass(BookQueries.class)`.
+- by calling `persistenceConfiguration.managedClass(BookQueries.class)`.
1313
1314
[TIP]
1315
====
0 commit comments