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,存贮在数据库中

原文地址:https://www.cnblogs.com/yinyl/p/6843079.html