IDEA-364245 Column cannot be resolved if using @field:[Column(name = "...")] in JPA

(cherry picked from commit cd2f0b1f53f4a881a572012543052056ef0f914d)

IJ-CR-151650

GitOrigin-RevId: ebd107f2dc2406a11d2956b95fe0f167f4b772c5
This commit is contained in:
Anton Kozub
2024-12-09 15:51:31 +01:00
committed by intellij-monorepo-bot
parent ea119b9264
commit 345944c3ff

View File

@@ -66,7 +66,8 @@ internal fun convertParentImpl(
?: parent
AnnotationUseSiteTarget.FIELD ->
parent = (parentUnwrapped as? KtProperty)
parent = (parentUnwrapped as? KtAnnotation)?.parent
?: (parentUnwrapped as? KtProperty)
?: (parentUnwrapped as? KtParameter)
?.takeIf { it.isPropertyParameter() }
?.let(LightClassUtil::getLightClassBackingField)