'Basic' attribute type should not be 'Object'
I'm trying to use the Persistence facet to generate JPA entity classes from a DB Schema. It is showing the message above and not allowing me to proceed. What does this message mean and how do I fix it?
Thanks,
-Darren
Please sign in to leave a comment.
I guess some rows in the Import Schema dialog are marked with red for you.
Could you give a sample of "red item": what is the database column type, and what is the Mapped Type column content for it?
Regards,
Alexander.
I get this error when table or view has NVARCHAR2 type.
Oracle, Idea 11.0
Regards, Alexander
Thank you, reproduced. Filed as http://youtrack.jetbrains.net/issue/IDEA-79437
Notice that manual changing the type to java.lang.String (if acceptable) removes the error.
Regards,
Alexander.