FlowingCode / backend-core

Commons utilities for back-end enterprise features
Apache License 2.0
4 stars 1 forks source link

Provide a default implementation of JpaCrudService.getId #59

Closed javier-godoy closed 1 year ago

javier-godoy commented 2 years ago

JpaCrudService defines an abstract method getId. Since the entities are JPA entities, it should be possible to reflect the id getter as a default implementation https://github.com/AppJars/commons-backend/blob/6e7c9b2b3cb0d0b397cc795a51380945421eee70/commons-business-spring-impl/src/main/java/com/appjars/saturn/service/JpaCrudService.java#L40