![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
X80757
学习而学习。
展开
-
oracle中增删改操作,约束条件
约束条件 主键:primary key, PK = unique + not null 外键:foreign key, FK 唯一:unique 非空:not null 检查:check --建表 create table student( id number primary key, name varchar2(20), email varchar2(40), registtime date...原创 2018-04-27 14:31:49 · 1418 阅读 · 0 评论 -
JDBC连接oracle数据库 ,Statement, PreparedStatement,CallableStatement 的使用,对时间参数的处理
JDBC连接oracle1.在Oracle数据库安装文件夹中找到 jdbc文件夹→lib文件夹 E:\app\amin\product\11.2.0\dbhome_1\jdbc\lib2.在myeclipse中导入此Jar包 导入方法: 建立一个项目,在项目名称上右键鼠标选择 Build Path→ConfigBuildPath->liba...原创 2018-04-28 15:27:34 · 857 阅读 · 0 评论 -
Hibernate框架的检索方式
首先拿到session Configuration cfg = new Configuration().configure("hibernate.cfg.xml"); //hibernate3 SessionFactory sf = cfg.buildSessionFactory(); //open Session session = sf.openSessi...原创 2018-06-06 21:08:50 · 170 阅读 · 0 评论