I want to use the EJB3 @Table, @Column, @JoinColumn (etc) annotations to name database tables and columns as I wish.
In IntelliJ (6.0.4) this is marked as an error ("Cannot resolve symbol"):
I understand that I can create an IntelliJ data source ("Tools"->"Data sources...") and then these errors disappears, but only if my "name" attribute is corresponding to the column name in the database.
I want to be able to write what ever column/table name I want, without IntelliJ complaining and be able to compile the code. Is there a way to do this?
I have tried to remove the "Data source ORM Annotations Problems", but this seems to have no effect what so ever.