[oracle]ORA-01460: 轉(zhuǎn)換請求無法實現(xiàn)或不合理
一開始以為是編碼或者字符集的問題,后來才發(fā)現(xiàn)是數(shù)據(jù)庫類型的長度不夠!
將類型從nvarchar2(2000)換成clob就好了
如果要在Hibernate上使用clob像使用string那么方便就需要spring的輔助!
Let life be beautiful like summer flowers and death like autumn leaves.
posted on 2008-07-09 09:32 Alexwan 閱讀(7148) 評論(0) 編輯 收藏 所屬分類: 小筆記 、數(shù)據(jù)庫