-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Issue 1:
In Application.java (Spring boot main class) we have to specify base packages in @componentscan.
(Example: @componentscan( basePackages = "com.cb.soap.service.*")
In the same class we also have to add following annotations:
@EntityScan("com.cb.soap.service.domain")
@EnableJpaRepositories("com.cb.soap.service.repository")
Issue 2:
We have to migrate our validation constraints from service implementation class to its parent interface.
Constraint are: @NotNull, @Valid, final
Modified interface method will look like:
User save( @NotNull @Valid final User user );
Metadata
Metadata
Assignees
Labels
No labels