spring-projects / spring-projects/spring-data-commons
Repository Populator support for referenced objects [DATACMNS-396]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 838
- Forks
- 730
- PR merge metrics
- No merged PRs in 30d
Description
Rob Winch opened DATACMNS-396 and commented
The Repository Populators are limitted due to the fact that they cannot reference other domain objects. For example, if I have the following:
class Message {
@OneToOne
private User user;
// ...
}
There is no way to import a Message that contains a User
No further details from DATACMNS-396
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Repository Populators documentation linked in the issue and locate the corresponding implementation in spring-data-commons. Define how referenced Message and User objects should be represented and persisted, then add tests showing that a Message containing a User can be imported successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100