1

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 can 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.

2 Answers 2

1

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.

1
  • By default, JVM will use the regional settings of the operating system. So i changed the regional settings but don't forget to restart netbeans lol i try without restarting thank you. Sep 15, 2011 at 14:56
0

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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.