Language of error message

2010-11-27 Thread Thomas
Hi, can someone please advise what is determining the language which will be seen in error messages? Is this depend on the locale of the machine? I am currently seeing messages in german, but would like to switch to english, but don't know how to do that. Thanks in advance Thomas

Re: Language of error message

2010-11-27 Thread Peter Ondruška
It is determined by JRE's system locale. You probably use German locale in your system's settings. If you are on Unix, set LC_ALL=en_US, if you are on Windows go to regional settings in control panel. If you cannot any of those try using your application with additional JRE parameter -Dlanguage=en.

Re: Language of error message

2010-11-27 Thread Marco Ferretti
set locale from vm options? -Duser.language=language -Duser.region=region -- Marco (from iPhone) On Nov 27, 2010, at 3:50 PM, Thomas wrote: > Hi, > > can someone please advise what is determining the language which will be seen > in > error messages? Is this depend on the locale of the machi

Re: Language of error message

2010-11-27 Thread Peter Ondruška
Yeah,that's what I ment... just forgot "user." On Nov 27, 2010 4:23 PM, "Marco Ferretti" wrote: > set locale from vm options? > > -Duser.language=language -Duser.region=region > > -- Marco (from iPhone) > > On Nov 27, 2010, at 3:50 PM, Thomas wrote: > >> Hi, >> >> can someone please advise what i

Derby + hibernate & import.sql

2010-11-27 Thread Tobb
Hi. I have a strange problem with Hibernate and Apache Derby. I am trying to load the import.sql file and run it against a Derby db. My hibernate.cfg.xml file looks like this: http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd";> org.apache.derby.jdbc.Embedd

Re: Derby + hibernate & import.sql

2010-11-27 Thread Bryan Pendleton
The strange thing is, that if i load the import.sql file manually, using Derbys ij prompt, it loads without error, even in the Derby db created by Hibernate. I'm not Hibernate-fluent, but one thing I often encounter when designing and testing mechanisms like this is that some import systems want

Re: Derby + hibernate & import.sql

2010-11-27 Thread Tobb
>If your import.sql script has a semicolon at the end of each line, try >taking that semicolon out and see if it affects the behavior. >Or, if your import.sql script does NOT have a semicolon at the end of each >line, try adding it back in and see if that helps. I will try this on monday. I have