文件名称:hibernate2012
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 108kb
- 下载次数:
- 0次
- 提 供 者:
- 刘**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用hibernate框架创建数据库,数据库用的是mysql,并同时用注解编程和.xml编程,查看两种方法的优缺点,运行脚本类在common包中ExportAnnotationDB是(注解编程脚本类)ExportDB(xml运行脚本)并通过使用测试类测试结果-Create a database using the hibernate fr a mework, database mysql, and at the same time annotation programming. Xml programming, view the advantages and disadvantages of the two ways to run the scr ipt class in a common package ExportAnnotationDB (annotation programming scr ipt class) ExportDB (xml run the scr ipt) and through the use of the test results of the test class
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hibernate2012\.classpath
.............\.myhibernatedata
.............\.project
.............\.settings\org.eclipse.core.resources.prefs
.............\bin\annotation\component\ComponentTest.class
.............\...\..........\.........\Contact.class
.............\...\..........\.........\User.class
.............\...\..........\manytomany\ManyToManyTest.class
.............\...\..........\..........\Role.class
.............\...\..........\..........\User.class
.............\...\..........\......one\Group.class
.............\...\..........\.........\ManytooneTest.class
.............\...\..........\.........\User.class
.............\...\..........\onetomany\Classes.class
.............\...\..........\.........\OneToManyTest.class
.............\...\..........\.........\Student.class
.............\...\..........\.....one\Card.class
.............\...\..........\........\OneToOneTest.class
.............\...\..........\........\Person.class
.............\...\common\ExportAnnotationDB.class
.............\...\......\ExportDB.class
.............\...\......\HibernateAnnotationUtil.class
.............\...\......\HibernateUtil.class
.............\...\hibernate.cfg-an.xml
.............\...\hibernate.cfg.xml
.............\...\log4j.properties
.............\...\test\Student.class
.............\...\....\Student.hbm.xml
.............\...\....\StudentTest.class
.............\...\....\User.class
.............\...\....\User.hbm.xml
.............\...\....\UserTest.class
.............\...\xml\collection\CollectionTest.class
.............\...\...\..........\School.class
.............\...\...\..........\Student.class
.............\...\...\..........\Student.hbm.xml
.............\...\...\..mponent\ComponentTest.class
.............\...\...\.........\Contact.class
.............\...\...\.........\User.class
.............\...\...\.........\User.hbm.xml
.............\...\...\.....site\CompositeTest.class
.............\...\...\.........\Wage.class
.............\...\...\.........\Wage.hbm.xml
.............\...\...\.........\WagePK.class
.............\...\...\manytomany\ManyToManyTest.class
.............\...\...\..........\Role.class
.............\...\...\..........\Role.hbm.xml
.............\...\...\..........\User.class
.............\...\...\..........\User.hbm.xml
.............\...\...\......one\Group.class
.............\...\...\.........\Group.hbm.xml
.............\...\...\.........\ManytooneTest.class
.............\...\...\.........\User.class
.............\...\...\.........\User.hbm.xml
.............\...\...\onetomany\Classes.class
.............\...\...\.........\Classes.hbm.xml
.............\...\...\.........\OneToManyTest.class
.............\...\...\.........\Student.class
.............\...\...\.........\Student.hbm.xml
.............\...\...\.....one_pk\Card.class
.............\...\...\...........\Card.hbm.xml
.............\...\...\...........\OneToOnePKTest.class
.............\...\...\...........\Person.class
.............\...\...\...........\Person.hbm.xml
.............\...\...\.........ufk\Card.class
.............\...\...\............\Card.hbm.xml
.............\...\...\............\OneToOneUFKTest.class
.............\...\...\............\Person.class
.............\...\...\............\Person.hbm.xml
.............\src\annotation\component\Contact.java
.............\...\..........\.........\User.java
.............\...\..........\manytomany\Role.java
.............\...\..........\..........\User.java
.............\...\..........\......one\Group.java
.............\...\..........\.........\User.java
.............\...\..........\onetomany\Classes.java
.............\...\..........\.........\Student.java
.............\...\..........\.....one\Card.java
.............\...\..........\........\Person.java
.............\...\common\ExportAnnotationDB.java
.............\...\......\ExportDB.java
.............\...\......\HibernateAnnotationUtil.java
.............\...\......\HibernateUtil.java
.............\...\hibernate.cfg-an.xml
.............\...\hibernate.cfg.xml
.............\...\log4j.properties
.............\...\test\Student.hbm.xml
.............\...\....\Stude
.............\.myhibernatedata
.............\.project
.............\.settings\org.eclipse.core.resources.prefs
.............\bin\annotation\component\ComponentTest.class
.............\...\..........\.........\Contact.class
.............\...\..........\.........\User.class
.............\...\..........\manytomany\ManyToManyTest.class
.............\...\..........\..........\Role.class
.............\...\..........\..........\User.class
.............\...\..........\......one\Group.class
.............\...\..........\.........\ManytooneTest.class
.............\...\..........\.........\User.class
.............\...\..........\onetomany\Classes.class
.............\...\..........\.........\OneToManyTest.class
.............\...\..........\.........\Student.class
.............\...\..........\.....one\Card.class
.............\...\..........\........\OneToOneTest.class
.............\...\..........\........\Person.class
.............\...\common\ExportAnnotationDB.class
.............\...\......\ExportDB.class
.............\...\......\HibernateAnnotationUtil.class
.............\...\......\HibernateUtil.class
.............\...\hibernate.cfg-an.xml
.............\...\hibernate.cfg.xml
.............\...\log4j.properties
.............\...\test\Student.class
.............\...\....\Student.hbm.xml
.............\...\....\StudentTest.class
.............\...\....\User.class
.............\...\....\User.hbm.xml
.............\...\....\UserTest.class
.............\...\xml\collection\CollectionTest.class
.............\...\...\..........\School.class
.............\...\...\..........\Student.class
.............\...\...\..........\Student.hbm.xml
.............\...\...\..mponent\ComponentTest.class
.............\...\...\.........\Contact.class
.............\...\...\.........\User.class
.............\...\...\.........\User.hbm.xml
.............\...\...\.....site\CompositeTest.class
.............\...\...\.........\Wage.class
.............\...\...\.........\Wage.hbm.xml
.............\...\...\.........\WagePK.class
.............\...\...\manytomany\ManyToManyTest.class
.............\...\...\..........\Role.class
.............\...\...\..........\Role.hbm.xml
.............\...\...\..........\User.class
.............\...\...\..........\User.hbm.xml
.............\...\...\......one\Group.class
.............\...\...\.........\Group.hbm.xml
.............\...\...\.........\ManytooneTest.class
.............\...\...\.........\User.class
.............\...\...\.........\User.hbm.xml
.............\...\...\onetomany\Classes.class
.............\...\...\.........\Classes.hbm.xml
.............\...\...\.........\OneToManyTest.class
.............\...\...\.........\Student.class
.............\...\...\.........\Student.hbm.xml
.............\...\...\.....one_pk\Card.class
.............\...\...\...........\Card.hbm.xml
.............\...\...\...........\OneToOnePKTest.class
.............\...\...\...........\Person.class
.............\...\...\...........\Person.hbm.xml
.............\...\...\.........ufk\Card.class
.............\...\...\............\Card.hbm.xml
.............\...\...\............\OneToOneUFKTest.class
.............\...\...\............\Person.class
.............\...\...\............\Person.hbm.xml
.............\src\annotation\component\Contact.java
.............\...\..........\.........\User.java
.............\...\..........\manytomany\Role.java
.............\...\..........\..........\User.java
.............\...\..........\......one\Group.java
.............\...\..........\.........\User.java
.............\...\..........\onetomany\Classes.java
.............\...\..........\.........\Student.java
.............\...\..........\.....one\Card.java
.............\...\..........\........\Person.java
.............\...\common\ExportAnnotationDB.java
.............\...\......\ExportDB.java
.............\...\......\HibernateAnnotationUtil.java
.............\...\......\HibernateUtil.java
.............\...\hibernate.cfg-an.xml
.............\...\hibernate.cfg.xml
.............\...\log4j.properties
.............\...\test\Student.hbm.xml
.............\...\....\Stude