'DataJPATest attempts to load everything

I have my application, with a lot of components. I'd like to test my queries so I annotated my tests with:

@DataJPATest

Problem is that it also tries to load every single bean! What am I missing?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source