hibernate Disabling contextual LOB creation as connection was null

來源:互聯網
上載者:User

用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

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.