Comments (8)
Brandon M. commented
Any updates or thoughts on viability of adding this support in near future?
from spring-data-commons.
Michael Andrews commented
This is really the only thing missing for basic repository configuration to be fully in java. +1
from spring-data-commons.
Michael Andrews commented
E.g., Have the mongo:repositories, jpa:repositories (etc.) XML definitions - available in java - to be used in @Configuration
classes
from spring-data-commons.
Oliver Drotbohm commented
Have a look at DATAJPA-69 for an example of what you can do right now already. Similar thing could be done for the MongoDB module. I recommend setting up a helper method to include the meat of the configuration so that the @Bean
methods basically only contain a call to that method piping in the repo interface
from spring-data-commons.
Oliver Drotbohm commented
I've just published a first draft of the support into feature branches. The store specific implementations can be found in feature branches named after the ticket as listed above. To try out the feature refer to the library using JAVACONFIG-SNAPSHOT
as version suffix (e.g. for Spring Data JPA - 1.2.0.JAVACONFIG-SNAPSHOT). The annotations are named @EnableJpaRepositories
, @EnableMongoRepositories
, @EnableNeo4jRepositories
from spring-data-commons.
Oliver Drotbohm commented
Merged support back into master branch. Feature is now available in plain BUILD-SNAPSHOT
snapshot versions of the individual store modules
from spring-data-commons.
Deepak Vohra commented
Is support for @EnableCassandraRepositories
also available?
from spring-data-commons.
Deepak Vohra commented
Found @EnableCassandraRepositories
is already available
from spring-data-commons.
Related Issues (20)
- Release 3.1.11 (2023.0.11)
- Release 3.2.5 (2023.1.5)
- Release 3.3 RC1 (2024.0.0)
- Cache result of `RepositoryInformationSupport.getQueryMethods()` HOT 5
- Aligning internal caches with core framework patterns.
- Bug in AbstractPageRequest::hashCode
- Window.positionAt should always return exact position of element HOT 1
- Investigate potential solution to pass in additional options for scroll behaviour.
- More precise type information of factory bean definitions
- Release 3.1.12 (2023.0.12)
- Release 3.2.6 (2023.1.6)
- Release 3.3 GA (2024.0.0)
- Refine null-safety with NullAway build-time checks
- Allow custom bean name generator for repository HOT 2
- Unresolved self-recursive generics comparison causes `StackOverflowError` HOT 1
- Why is PersistentEntity created for types defined in CustomConversions? HOT 7
- members of Interface TypeInformation are null when AOP and Data Rest are enabled and a bean is marked @Lazy
- Apply Kotlin Value Class unboxing to generated Property Accessors
- Introduce `Parameter.getRequiredName()` and `Parameter.hasName()`
- `RepositoryConfigurationDelegate.getRepositoryInterface(…)` constructs `ResolvableType` with improper generics size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-data-commons.