hibernate操作大文本字段Blob和Clob解决方案:
1.大文本字段Blob和Clob(流);
2.截串存取
第一步: 创建新表:Elec_CommonMsg_Content
create table Elec_CommonMsg_Content( comID varchar(50) not null primary key comment ‘主键ID‘, type char(2) null comment ‘判断站点运行和设备运行的标示‘, content varchar(5000) null comment ‘数据内容‘, orderby int null comment ‘数据显示排序‘ )
第二步:在elec.domain中创建2个javabean和两个映射文件
原文:http://www.cnblogs.com/taiguyiba/p/6897137.html