• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How to support multiple languages with hibernate

 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all
I am using hibernate along with spring and weblogic server. However when I persist any Chinese data into the database using hibernate, its not getting persisted properly. I was able to find its fix on local by using following configuration.



However on production, I am using weblogic datasource thery by doing jndi lookup. Because of this there is no way I can use this configuration on production. The datasource look up is being done through below configuration.



I tried setting up below mentioned configurations on persistence.xml although it did not yield any result

Can someone please tell me how should I deal with this situation ?
Any link , white paper will greatly be appreciated.
Thanks in advance
Samir
 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchers
I was able to resolve this issue. On weblogic console one need to set the below mentioned value in the "System Properties" box under "Data Source" -> "Your Data Source" -> "Connection Pool" - > properties



This worked for me .
Happy coding
Thanks
Samir
 
reply
    Bookmark Topic Watch Topic
  • New Topic