79491603

Date: 2025-03-07 08:19:48
Score: 0.5
Natty:
Report link

Until jOOQ 3.19.x, the convertFrom in multiset worked fine for our JPA annotated POJOs [1]. From jOOQ 3.20.x, the ad-hoc converter (default configuration?) does not know about the configuration as the configured context does (https://www.jooq.org/notes#3.20.0 -> New modules).

This lead to an Exception:

        Jakarta Persistence annotations are present on POJO the.package.DataDao
        without any explicit AnnotatedPojoMemberProvider configuration.

Is there a suggested migration path here?

[1]

    DSL.multiset(
      context.select(LINE.PARENTID, LINE.LINENUM, LINE.TOTAL, LINE.PRODUCT)
      .from(LINE)
      .where(LINE.PARENTID.eq(ORDER.ID))
    .convertFrom(r -> r.into(OrderLine.class))
    .as("order_lines")
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Samuel Casa