Update instructions/convert-jpa-to-spring-data-cosmos.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ed26acc0c5
commit
da10841bd2
@ -852,7 +852,7 @@ management:
|
|||||||
|
|
||||||
**Solution**: Update service methods to handle new entity structure:
|
**Solution**: Update service methods to handle new entity structure:
|
||||||
|
|
||||||
````java
|
```java
|
||||||
// Before: Entity relationships
|
// Before: Entity relationships
|
||||||
public Set<RelatedEntity> getRelatedEntities() {
|
public Set<RelatedEntity> getRelatedEntities() {
|
||||||
return entity.getRelatedEntities(); // Direct entity references
|
return entity.getRelatedEntities(); // Direct entity references
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user