Closed firatgursoy closed 3 years ago
Use like this :
@Test
void longListTest() {
List<Long> map = factory.newQuery()
.append("select i.id from invoice i")
.append("where i.updated > :updated", "updated", LocalDateTime.now().minusHours(5))
.list(RowMappers.newSingleColumnRowMapper(Long.class));
Assertions.assertFalse(map.isEmpty());
}
Maybe we can use list method for it