Why EclipseLink maps a NVARCHAR type to an Object?

2019-07-24 15:08发布

I am using the latest version of EclipseLink (2.2.0) with SQL Server 2005.

Generating the classes, the type NVARCHAR is mapped to type Object in the classes.

I suppose it should map to type String.

Why is this happening?

1条回答
萌系小妹纸
2楼-- · 2019-07-24 15:57

How are you generating the classes? Are you using Eclipse Dali?

I would just change the generate code to String. Perhaps report a bug with the IDE you are using. EclipseLink itself, does not generate classes.

查看更多
登录 后发表回答