JPA @Column(name="...") unexpected
Answered
I have configured JPA, everythings works on the software so column annotation is correct.
But IntelliJ give me error like the name parameter is "Unexpected" on every column of every entities on the software.
I have already:
- Assigned datasource
- I have no error on table name (Or give me error if table name is not correct, that means the assigned datasource work)
How i can disable this false error?
Please sign in to leave a comment.
Hi, could you please provide a demo project?
I have tried to make a demo project, but in a demo project it works. I can share a class, persistance and other can be useful? Maybe it's some configuration but i cannot find the problem
I have tried with autogeneration of entity from IntelliJ, but even autogenerate code give me the same error
Does it help if you remove the .idea folder and reimport the project?
No, i have tried to reimport single modules/multiple modules. But with no success... if i try to press "alt+enter" i have no context action to try.
I'm trying to search for some option to disable this type of error from settings but i cannot find which condition cause it
@Acquisti have you tried invalidating cache (File | Invalidate cache...)?