Hi Lukas,
If I right understood , I don't think this is a solution cause test phase
run after compile but compile require code generation to complete.
The point is that what you call "ordinary classes" depends on jooq
generated table and can't compile without generation.

Denis


Il giorno lun 13 mag 2019 alle ore 13:05 Lukas Eder <[email protected]>
ha scritto:

> At the recent JAX conference, I had an interesting discussion with Peter
> Verhas, another speaker. In principle, it would be possible to generate
> jOOQ classes during the Maven test phase, assuming that phase will never be
> skipped. At that point, all the ordinary classes are already available, and
> jOOQ's JPADatabase could be introspecting them using the existing
> mechanisms. The jOOQ generated code would obviously end up in the test
> target directory, and would have to be included in the ordinary jar file
> using some workaround.
>
> This is a hack, but perhaps one that works sufficiently well.
>
> Lukas
>
> On Tuesday, January 2, 2018 at 4:31:17 PM UTC+1, Lukas Eder wrote:
>>
>>
>>
>> 2018-01-02 16:22 GMT+01:00 Denis Miorandi <[email protected]>:
>>
>>> Hi Lukas, tks for your honest answer about priority. I really appreciate
>>> it.
>>> I would like to examine in depth apt generation to have obtain new hints
>>> about this I'll eventually wrote it in github issue.
>>>
>>
>> Cool, thank you very much for your help!
>> Lukas
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "jOOQ User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jooq-user/y4Xd4mzJtUQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jooq-user/a0485350-01d6-4435-9b79-c0af87cea3ac%40googlegroups.com
> <https://groups.google.com/d/msgid/jooq-user/a0485350-01d6-4435-9b79-c0af87cea3ac%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Dott. Denis Miorandi
via dei Vignai 27
38060 - Nogaredo (TN)

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/CAKg%3D8PJK6sJvXFrbOw9wwfR0xDrym%2BqRQMEEQWj4F9O37fm4vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to