Hi Alex,

You're right, I'm sorry - my bad. I should have followed through on the
merge ticket for this fix. It was not merged to 3.10.x:
https://github.com/jOOQ/jOOQ/issues/6773

So, the jpaVersion element is available only from jOOQ 3.11 onwards.

I can see 4 workarounds:

- Turn off the generation of JPA annotations entirely
- Upgrade your compile time dependency to JPA 2.1 or 2.2
- Post-process the generated output to remove the index attribute on the
annotations again
- Patch the code generator to remove the generation of the index attribute

Thanks,
Lukas

2018-02-15 15:31 GMT+01:00 Alex Mueller <bamuel...@gmail.com>:

> Lukas,
>
> Thanks. I took a look at this issue again last night for my local code. I
> am not seeing why I am seeing why I am getting "cannot find symbol" errors
> for class Index in package org.jooq when I have that referenced in my
> build.sbt when my play app runs. My steps are simple. Upgrade from Jooq 3.7
> to 3.10.4, build my data layer with code generation, and run the app. The
> jpaVersion xml element is not available until 3.11 (from the XSD's I have
> seen online). org.jooq.Index is referenced in org.jooq:jooq:3.10.4:jar. I
> believe it should be available and discoverable.
>
> Thanks for any help,
>
> Alex
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to