![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
sigangjun
这个作者很懒,什么都没留下…
展开
-
maven下搭建hibernate体验
1、在mysql5中创建数据库 : create database sigangjun_hibernate; 2、创建表DBUser: use sigangjun_hibernate; create table DBUser( USER_ID int NOT NULL PRIMARY KEY, USERNAME varchar(20) NOT NULL, CREATE原创 2013-10-17 16:55:35 · 722 阅读 · 0 评论 -
maven 下成功搭建hibernate
目录如下: 1.pom.xml 4.0.0 cn.sigangjun 01hibernate war 0.0.1-SNAPSHOT 01hibernate Maven Webapp http://maven.apache.org mysql mysql-connector-java 5.1.25 org.hiberna原创 2013-10-29 16:57:14 · 1301 阅读 · 0 评论 -
maven hibernate 实现对mysql简单的CRUD操作
目录结构如下图所示: 1.hibernate.cfg.xml <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">原创 2013-10-29 17:16:21 · 755 阅读 · 0 评论 -
oracle 配置链接,做附载
jdbc.driver=oracle.jdbc.driver.OracleDriver jdbc.url=jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.1.105)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.1.106)(PORT原创 2014-02-26 17:00:13 · 603 阅读 · 0 评论