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
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 .
Beware the other head of science - it bites! Nibble on this message: