stat0.executeUpdate("drop table CLOB_ENTITY if exists");
stat0.getWarnings();
stat0.executeUpdate("create table CLOB_ENTITY (ID bigint not null, SER_DATA clob, CLOB_DATA clob, primary key (ID))");
stat0.getWarnings();
stat0.close();
conn.getWarnings();
conn.clearWarnings();
conn.setAutoCommit(false);
conn.getAutoCommit();
conn.getAutoCommit();
PreparedStatementprep0=
conn.prepareStatement("select max(ID) from CLOB_ENTITY");
ResultSetrs0=
prep0.executeQuery();
rs0.next();
rs0.getLong(1);
rs0.wasNull();
rs0.close();
prep0.close();
conn.getAutoCommit();
PreparedStatementprep1=
conn.prepareStatement("insert into CLOB_ENTITY (SER_DATA, CLOB_DATA, ID) values (?, ?, ?)");
prep1.setNull(1,2005);
StringBufferbuff=newStringBuffer(20000);
for(inti=0;i<10000;i++){
buff.append((char)('0'+(i%10)));
}
Readerx=newStringReader(buff.toString());
prep1.setCharacterStream(2,x,10000);
prep1.setLong(3,1);
prep1.addBatch();
prep1.executeBatch();
prep1.close();
conn.getAutoCommit();
conn.getAutoCommit();
conn.commit();
conn.isClosed();
conn.getWarnings();
conn.clearWarnings();
conn.getAutoCommit();
conn.getAutoCommit();
PreparedStatementprep2=
conn.prepareStatement("select clobholdin0_.ID as ID0_0_, clobholdin0_.SER_DATA as SER2_0_0_, clobholdin0_.CLOB_DATA as CLOB3_0_0_ from CLOB_ENTITY clobholdin0_ where clobholdin0_.ID=?");
stat.execute("create table IF NOT EXISTS file (id IDENTITY primary key, path nvarchar(1000) not null, name nvarchar(100), date timestamp not null, size int , is_dir char(1) not null, unique (path))");