hibernate Disabling contextual LOB creation as connection was null
使用hibernate通路sybase當遇到異常。
Could not obtain connection metadata : ASE is now using a multi-byte character set, and the TEXT character counts have not been re-calculated using this character set for table 'spt_jtext'. Use DBCC FIX_TEXT on this table before running the query again
? Disabling contextual LOB creation as connection was null
解決:
hibernate.temp.use_jdbc_metadata_defaults false
參考:
http://stackoverflow.com/questions/4588755/hibernate-disabling-contextual-lob-creation-as-createclob-method-threw-error
版權聲明:本文博主原創文章,博客,未經同意不得轉載。
轉載于:https://www.cnblogs.com/zfyouxi/p/4820899.html
總結
以上是生活随笔為你收集整理的hibernate Disabling contextual LOB creation as connection was null的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2015年9月百度前端在线笔试
- 下一篇: 【poj3734】矩阵乘法求解