You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the issue is that JpaEntityRepository is not throwing ResourceNotFoundExceptions in findOne or findAll. Also, I think it would be nice if JpaRepositoryFactory relied on an interface instead of the concrete class JpaEntityRepository. This would make it much easier for me to provide an alternative implementation. Right now I have I have to subclass JpaEntityRepository, some of these methods are final it makes a work around ackward.
Based on the JSON:API spec, if I ask for an entity that does not exist I should get a 404.
When using the spring-boot-simple-example I can only get
{"data":null}
.however, when using one of the non-JPA entities in the sample I get the expected result:
@remmeier it looks like you updated the sample for JPA. Do you have any thoughts?
The text was updated successfully, but these errors were encountered: