Hi,
I'm generating Q classes from JPA entities using the maven JPAAnnotationProcessor. Normally, I use JPAQuery and everything works but I needed to UNION two queries so I tried to use JPASQLQuery.
Entities with names that map directly to its corresponding table work fine but if it's different then the "table is not found".
Example:
@Table(name="user")
class User
works fine but
@Table(name="other_user")
class User
will still try to generate SQL that refers to a table named User and fail.
Is there a way to override which table is used?
--
- John
You received this message because you are subscribed to the Google Groups "Querydsl" group.
To unsubscribe from this group and stop receiving emails from it, send an email to querydsl+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi John.