摘要: 有一个EmpMapper.java,里面获取全部数据的fetchAll函数是这样写的: @Mapper public interface EmpMapper { List<Emp> fetchAll(); } 而对应的Empmapper.xml会是这样: <mapper namespace="com 阅读全文
posted @ 2022-04-30 19:53 逆火狂飙 阅读(79) 评论(0) 推荐(0)
摘要: 有两个表是这样的: create table emp430_1( id number(12), name nvarchar2(20), profile clob, primary key(id) ); create table emp430_2( id number(12), name nvarch 阅读全文
posted @ 2022-04-30 09:33 逆火狂飙 阅读(395) 评论(0) 推荐(0)
摘要: 有个表是这样的: create table emp430_1( id number(12), name nvarchar2(20), profile clob, primary key(id) ); 其中profile为clob类型,这种类型可以容纳超大文本。 以下是从中连续读取数据的程序: pac 阅读全文
posted @ 2022-04-30 09:31 逆火狂飙 阅读(610) 评论(0) 推荐(0)
摘要: 有一个表是这样的: create table emp430_1( id number(12), name nvarchar2(20), profile clob, primary key(id) ); 其中profile是clob字段。 往这个字段连续塞入数据的程序如下: package com.h 阅读全文
posted @ 2022-04-30 09:25 逆火狂飙 阅读(1032) 评论(0) 推荐(0)