Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to support multiple languages with hibernate

 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic