![](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 · 1421 阅读 · 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 · 860 阅读 · 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 · 171 阅读 · 0 评论