Good point! That could be the case, yes. So it’s perfect as it is. Another question:
It generates fetchRange, which is great. But most Spring Data users are used to having paging with a Pageable. Could this be a useful addition? I know that this will bind it to Spring Data so maybe this must be a separate module? https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/domain/Pageable.html > On 22 Oct 2024, at 09:48, Lukas Eder <lukas.e...@gmail.com> wrote: > > > > On Tue, Oct 22, 2024 at 9:42 AM Simon Martinelli <simon.martine...@gmail.com > <mailto:simon.martine...@gmail.com>> wrote: >> I'm a bit confused. >> >> To get the Spring DAOs I need to configure >> >> <springAnnotations>true</springAnnotations> >> <springDao>true</springDao> >> <daos>true</daos> >> >> Why? I mean if I don't set daos=true only the AbstractSpringDAOImpl would be >> generated. >> I was assuming that daos and springDao (why is one in pluarl and one in >> singular) would not generate the same DAOs. > > The springDao flag as per the Javadoc and documentation in the XSD does: > > "Generate an AbstractSpringDAOImpl as a base class for other DAO classes, > containing @Transactional annotations, etc." > >> But it looks like springDao is a configuration for daos. >> IMO springDaos (to make it consistent) should generate the daos without the >> need to add daos=true. > > There's a non-zero (though not far beyond 1) percent chance that someone > would want to generate *only* the AbstractSpringDAOImpl, no? > > -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jooq-user+unsubscr...@googlegroups.com > <mailto:jooq-user+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jooq-user/CAB4ELO6-9RRPx87Qx9u2ouXUtPjP3N6e0%3DXTe7kA7BJXJj_Ubw%40mail.gmail.com > > <https://groups.google.com/d/msgid/jooq-user/CAB4ELO6-9RRPx87Qx9u2ouXUtPjP3N6e0%3DXTe7kA7BJXJj_Ubw%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/DDA67C8B-09D5-431E-888B-855414A28615%40gmail.com.