开发者

Why EclipseLink maps a NVARCHAR type to an Object?

开发者 https://www.devze.com 2023-03-02 14:36 出处:网络
I am using the latest version of EclipseLink (2.2.0) with SQL Server 200开发者_StackOverflow社区5.

I am using the latest version of EclipseLink (2.2.0) with SQL Server 200开发者_StackOverflow社区5.

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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号