How to set the encoding UTF-8 ?
Connection code to the database:
try { Class.forName("oracle.jdbc.driver.OracleDriver"); } catch (ClassNotFoundException e) { System.out.println("er"); } Connection cn = null; String str = "["; try { cn = DriverManager.getConnection( "jdbc:oracle:thin:@999.99.9.999:1521:meta", "*******", "*****"); Statement st = cn.createStatement(); st.close(); } jdbc:oracle:thin:@999.99.9.999:1521:meta?charsetUTF8 - this option did not help