'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

3 comments
Comment actions Permalink

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.

0
Comment actions Permalink

I get this error when table or view has NVARCHAR2 type.
Oracle, Idea 11.0

Regards, Alexander

0
Comment actions Permalink

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.

0

Please sign in to leave a comment.