79432429

Date: 2025-02-12 08:56:53
Score: 1
Natty:
Report link

If you are using spring you can add to your application class:

@EntityScan("base.package.that.includes.converters")

Make sure this is on the application class that has the main spring annotation like @SpringBootApplication

Once you've done that it will setPackagesToScan for JPA entities which will find the converters and register them which will make the autoApply actually work.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @SpringBootApplication
  • Low reputation (0.5):
Posted by: tiktock