3 Replies Latest reply on Nov 29, 2013 12:28 AM by Sirikumara Ranathunga

    Language characters save as ¿¿¿¿¿¿¿¿ in Oracle data base with jboss 7

    Sirikumara Ranathunga Newbie

      Dear All,

       

      I want to know how to save language characters(Japanese,Arabic, Russian) in data base. I have defined data source in standalone-full-standalone.xml as bellow.

       

      <connection-url>Connection URL</connection-url>

      <connection-property name="char.encoding">UTF-8</connection-property>

      <driver>oracle</driver>

      <pool>

      <min-pool-size>2</min-pool-size>

      <max-pool-size>10</max-pool-size>

      <prefill>true</prefill>

      </pool>

      <security>

      <user-name>UserName</user-name>

      <password>Password</password>

      </security>

      <statement>

      <prepared-statement-cache-size>100</prepared-statement-cache-size>

      <share-prepared-statements>true</share-prepared-statements>

      </statement>

       

      Records are saved with java code :  getHibernateTemplate().saveOrUpdate(Object);

       

      Please let me know the correct configuration to save language text in data base.

       

      Thanks.