Skip to content

Commit

Permalink
Polish "Add How-To documentation for ManagedClassNameFilter"
Browse files Browse the repository at this point in the history
  • Loading branch information
scottfrederick committed May 3, 2024
1 parent d945443 commit 289f3f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ include-code::MyApplication[]


[[howto.data-access.filter-scanned-entity-definitions]]
== Filter scanned @Entity definitions
== Filter Scanned @Entity Definitions

It is possible to exclude some `@Entity` definitions using a `ManagedClassNameFilter` bean.
It is possible to filter the `@Entity` definitions using a `ManagedClassNameFilter` bean.
This can be useful in tests when only a sub-set of the available entities should be considered.
In the following example, only entities from the `com.example.app.customer` package are included:

Expand Down

0 comments on commit 289f3f9

Please sign in to comment.