The PrototypeApplication class is now also a @Configuration bean factory to get IntelliJ recognise the JPA repositories right.