Can I use querydsl with JPA PROPERTY AccessType? #3687
Unanswered
nsandersen
asked this question in
Q&A
Replies: 1 comment
-
Not familiar with annotation processing, but looking here: https://github.com/querydsl/querydsl/blob/master/querydsl-apt/src/main/java/com/querydsl/apt/jpa/JPAConfiguration.java#L102 - I am guessing that if there is a class-level Access annotation, then querydsl ignores overrides to a different Access type. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to experiment with derived stored properties with JPA/Hibernate (see primitive conceptual example below).
Basically I normally use FIELD access, but like the occasional functional or derived property stored for querying.
This seems to work as I expected in the database - there is a populated column for the derivedExampleProperty.
But I don't get a derivedExampleProperty on my generated QExampleEntity. Is this supported - if so, how should I configure querydsl for it?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions