Error Saving and getting blob from database SQL oracle

前端 未结 2 514
南笙
南笙 2021-01-06 15:13

I\'m trying to save a CLOB into the database and recovering it, but I\'m getting an SQLException:

Caused by: java.sql.SQLException: Lob read/write functions          


        
2条回答
  •  甜味超标
    2021-01-06 16:14

    Setting the hibernate property

    
    

    sorved the problem for me.

    Setting the lobCreator for SessionFactory to NonContextualLobCreator is probably a better solution (not tried yet).

    However I'm not sure what causes this error.

提交回复
热议问题