开发者

hibernate reverse engineering character encoding

开发者 https://www.devze.com 2023-04-04 22:06 出处:网络
Hi i am trying to reverse engineering with my oracle database but have a small problem that hibernate generates classnames in a unwanted encoding. for example if table name \"KKYAGI\"

Hi i am trying to reverse engineering with my oracle database but have a small problem that hibernate generates classnames in a unwanted encoding. for example if table name "KKYAGI"

my classname is "KkyAgı" here the "ı" is problem for me i want it as "KkyAgi". I know we c开发者_运维百科an create a custom reverse engineering strategy with hibernate tools but i could not manage to do with netbeans.

is there a easy way to do that or if i have to use hibernatetools anyone can help me with netbeans? Thank you.


I guess you run NetBeans on a machine with Turkish locale. If so, try to change locale used by NetBeans by changing user.language system property (note that it's a JVM system propery, not an environment variable).

I'm not sure how NetBeans startup works, but I think there should be some config where you can specify JVM properties, and you can write something like -Duser.language=en there.


For eclipse ide (hibernate tools) Try adding -Duser.language=en in the bottom of your eclipse.ini which is found in your eclipse installation directory (keep a backup copy of the eclipse.ini before any changes).

0

精彩评论

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

关注公众号