开发者

Netbeans. "Entiry classes from database" and Postgresql domains

I am trying to create entity classes form database with Netbeans wizard "Entiry classes from database". But if the field type in database table is an a custom domain the type of field is set to "Serializable", but it should be String or Integer.

Because domains are just wrappers around "normal" Postgresql datatypes.

And if my table contains custom domain "DESCRIPTION" then NetBeans crashes with null p开发者_JAVA技巧ointer exception.

How can I fix this?


Sounds like a netbeans bug but you didn't mention which version of postgresql and if your jdbc driver matched the version you are running. That might fix it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜