@RequestScoped
PanacheEntity
#24203
Unanswered
luca-bassoricci
asked this question in
Q&A
Replies: 1 comment
-
. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Does this ticket also affect PanacheEntity @Inject-ed as @RequestScoped?
Accessing a public property of a
PanacheEntity
@Inject
ed as@RequestScoped
always returnnull
value because property is directly accessed but I was expected a call to generated property accessor.Manually creating property accessor (using Lombok
@Getter
, in my specifi case) will make all works correctly.Am I using injection in a wrong way because
PanacheEntity
shouldn't be injected or this is a (valid but) uncovered usage?Beta Was this translation helpful? Give feedback.
All reactions