Skip to content

Add support for Cassandra AOT Repositories #1566

New issue

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

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

Already on GitHub? Sign in to your account

Open
mp911de opened this issue Apr 8, 2025 · 0 comments
Open

Add support for Cassandra AOT Repositories #1566

mp911de opened this issue Apr 8, 2025 · 0 comments
Assignees
Labels
theme: aot An issue related to Ahead-Of-Time processing type: enhancement A general enhancement

Comments

@mp911de
Copy link
Member

mp911de commented Apr 8, 2025

Supported Features

  • Derived query methods

Limitations

Excluded methods

  • CrudRepository and other base interface methods
  • Querydsl and Query by Example methods
  • Methods whose implementation would be overly complex
@mp911de mp911de added type: enhancement A general enhancement theme: aot An issue related to Ahead-Of-Time processing labels Apr 8, 2025
@onobc onobc self-assigned this May 8, 2025
onobc added a commit to onobc/spring-data-cassandra that referenced this issue May 8, 2025
onobc added a commit to onobc/spring-data-cassandra that referenced this issue May 8, 2025
Adds repository base class to configuration extensions.

Introduces repository fragments contributor and updates the repository factories and factory beans w/ to use the default implementations.

Also makes the CassandraRepositoryFactoryBean consistent with its reactive counterpart by only setting the mapping context from the CassandraOperations in afterPropertiesSet iff the mapping context was not specified by the user.

See: spring-projects#1566

Related tickets: spring-projects/spring-data-commons#3282
onobc added a commit to onobc/spring-data-cassandra that referenced this issue May 8, 2025
This change adopts the newly added AOT changes from spring-projects/spring-data-commons#3282 to Cassandra repositories.

- Introduces repository fragments contributor and updates the repository factories and factory beans w/ to use the default implementations.

- Also makes the `CassandraRepositoryFactoryBean` consistent with its reactive counterpart by only setting the mapping context from the `CassandraOperations` in `afterPropertiesSet` iff the mapping context was not specified by the user.

See: spring-projects#1566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-Of-Time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants