POJO Mapping in JOOQ regardless of parameter order
问题 When I generate the JOOQ POJOs, the constructor follows the same order for the parameters as the fields in the database table. When querying the table and using fetchInto this works fine, as long as the order of the POJO constructor parameters and the order of the fields in the database table are the same. return create .select() .from(KEY) .fetchInto(Key.class); How can I map the query above into Key.class regardless of the constructor parameter order? E.g. can I use something like mapstruct