Hi.
I test my java app.
There is a DB on Oracle 10, NLS_CHARACTERSET=CL8MSWIN1251
All content DB in cyrillic characters - schemes, tables, columns.
App-server GlassFish 4, local - at next steps to guess will be remote.
Java apps builds by Netbeans 7.4, jdk 1.7_051.
A).
1. Build JPA project, create Entity-class from DB with cyrillic tables, columns.
2. Build Enterprise Application. Deploy it by Netbeans.
3. Build client Enterprise Application. Run this client with error
>>>>
at org.glassfish.appclient.client.AppClientFacade.main(AppClientFacade.java:166)
Caused by: javax.ejb.EJBException: java.rmi.RemoteException: CORBA DATA_CONVERSION 1398079489 No; nested exception is:
org.omg.CORBA.DATA_CONVERSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.DATA_CONVERSION: WARNING: 02400001: Character does not map to negotiated transmission code set vmcid: SUN minor code: 1 completed: No
at com.sun.proxy.$Proxy311.charNotInCodeset(Unknown Source)
at com.sun.corba.ee.impl.encoding.CodeSetConversion$JavaCTBConverter.convertCharArray(CodeSetConversion.java:299)
<<<<
B).
Create view with latin characters from the same cyrillic tables, columns.
I interpret all cyrillic characters to latin at definition views.
Make all 3 steps - Success, no error.
Is it possible configure access to DB's objects named by national codeset?
Thank you.