Add test to prove that @Basic( fetch = FetchType.LAZY ) really works as expected
Description
Apparently, we don't have an integration test that counts the number of queries to be executed when we use the @Basic( fetch = FetchType.LAZY ) optimization.
This new test is going to reside in the documentation folder, and it will use the Gradle bytecode enhancer plugin as well. The test must count the number of statements that are executed and also validate the content of the underlying SQL query.
Activity
Show:
Andrei IvanovSeptember 15, 2016 at 4:17 PM
Now do a test for @Basic( fetch = FetchType.LAZY ) inside an @Embeddable
Apparently, we don't have an integration test that counts the number of queries to be executed when we use the
@Basic( fetch = FetchType.LAZY )
optimization.This new test is going to reside in the
documentation
folder, and it will use the Gradle bytecode enhancer plugin as well. The test must count the number of statements that are executed and also validate the content of the underlying SQL query.