Releases: Lemick/hibernate-query-asserts
Releases · Lemick/hibernate-query-asserts
v2.2.0
- Parsing errors do not throw a RuntimeException
- Upgrade JSQLParser to 5.1
v2.1.0
- Add programmatic assertion API
Example:
@Test
void test() {
QueryAssertions.assertInsertCount(2, () -> {
BlogPost post_1 = new BlogPost("Blog post 1");
post_1.addComment(new PostComment("Good article"));
blogPostRepository.save(post_1);
});
}