Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove @Persistent from entity-scan include filters #1100

Closed
mp911de opened this issue Mar 11, 2021 · 0 comments
Closed

Remove @Persistent from entity-scan include filters #1100

mp911de opened this issue Mar 11, 2021 · 0 comments
Labels
type: enhancement A general enhancement

Comments

@mp911de
Copy link
Member

mp911de commented Mar 11, 2021

See spring-projects/spring-boot#25069. We want to consistently use only @Table and @PrimaryKeyClass as inclusion criteria for entity types.

@mp911de mp911de added the type: enhancement A general enhancement label Mar 11, 2021
mp911de added a commit that referenced this issue Mar 11, 2021
We now only scan for entities annotated with `@Table` and `@PrimaryKeyClass` to avoid inclusion of non-Cassandra entities. Previously, types annotated (or meta-annotated) with `@Persistent` were included as Cassandra entity which could lead to mapping rule violations.

Closes #1100
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant