oracl中的大数据类型clob

建表

create table test_name(

test_id   number(6) not null,

img_data clob

);

在java中该表所对应的po为:

class TestName{

 

@column("test_id" nullable=false)

public Long testId;

 

@column("img_date ")

public String ImgData;

 

get....

set....

 

}

 

拓展:clob 为数据库数据类型 ,字符数据,最长可以达到4GB,存贮在数据库中

posted @ 2017-05-11 22:02  存钱罐  阅读(208)  评论(0编辑  收藏  举报