Hibernate > CLOB > Oracle :(

后端 未结 4 2163
北荒
北荒 2020-12-06 14:52

I am trying to write to an Oracle clob field a value over 4000 characters. This seams to be a common issue but non of the solutions seem to work. So I pray for help from her

4条回答
  •  庸人自扰
    2020-12-06 15:24

    It should be:

    true
    0
    

    And not:

    true
    

    And use the right dialect for your database (org.hibernate.dialect.Oracle9iDialect).

    Also make sure that you are using the latest Oracle 10g Release 2 thin driver (10.2.0.4) or later.

提交回复
热议问题