`

hibernate_simple

阅读更多
第一个hibernate项目

1.新建一个java项目

2.加入hibernate的jar包,和mysql的jdbc驱动

3.创建hibernate的配置文件hibernate.cfg.xml

4.定义实体类User

5.定义User对象的映射文件User.hbm.xml

6.将映射文件User.hbm.xml加入到hibernate.cfg.xml文件中

7.创建数据库,再利用hibernate工具类,将实体映射导入到数据库中

8.开发客户端
分享到:
评论

相关推荐

    struts2.2_spring2.5_hibernate3.3_simple_help_doc

    struts2.2_spring2.5_hibernate3.3_simple_help zip file include three ssh help file struts2.2 help file spring2.5 help file hibernate3.3 help file for ssh developer reference

    MyEclipse_Hibernate_Quickstart

    This quickstart presents the basic features, concepts, and techniques for getting started ... We do this while walking you through the development process of a very simple Java Hibernate application.

    02-hibernate-A_Simple_Example

    Walk-through of Walk a Simple Hibernate Example Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/Course-Materials/hibernate.html

    Hibernate_A Developers Notebook

    Hibernate: A Developer's Notebook shows you how to use Hibernate to automate persistence: you write natural Java objects and some simple configuration files, and Hibernate automates all the ...

    hibernate_reference中文文档.pdf

    1.1. 第一部分 - 第一个 Hibernate 应用程序 ................................. 1 1.1.1. 设置 ............................................................ 1 1.1.2. 第一个 class .............................

    hibernate中的 一对一唯一外键双向关联

    NULL 博文链接:https://share.iteye.com/blog/1088452

    some simple demo about hibernate3.2 and spring2.5

    NULL 博文链接:https://johnnycan.iteye.com/blog/789995

    simple_form_hibernate

    使用Java Hibernate的基本表单示例 该程序具有一个简单的表格,用于收集用户数据,例如订购的商品编号,价格,名称,信用卡号等。 学习基本知识-JavaHibernate对象关系映射。

    Beginning.Hibernate.For.Hibernate.5.4th.Edition

    Chapter 3: Building a Simple Application Chapter 4: The Persistence Life Cycle Chapter 5: An Overview of Mapping Chapter 6: Mapping with Annotations Chapter 7: JPA Integration and Lifecycle Events ...

    hibernate3.3.1jar包

    包括(antlr-2.7.6.jar、commons-collections-3.1.jar、dom4j-1.6.1.jar、hibernate3.jar、javassist-3.4.GA.jar、jta-1.1.jar、slf4j-api-1.5.10.jar、slf4j-simple-1.5.10.jar)

    原创struts2+spring2+hibernate3的simple示例

    实现查询和插入,并有建表sql,tomcat数据源配置说明

    slf4j-simple-1.6.1.jar

    slf4j-simple-1.6.1.jar hibernate的基本jar包

    hibernate ogm

    support simple JP-QL queries (restrictions and many-to-one joins) The medium target is: support other key/value stores support other NoSQL families support complex joins and aggregations The project...

    hibernate的log4j日志文件需要用到的jar

    Hibernate中使用slf4j技术,即简单日志门面(Simple Logging Facade for Java),它服务于各种各样的日志系统,用于整合其他日志系统。此资源就是整合log4j的日志。

    hibernate框架

    1.如果运行程序出现错误:“Exception in ... 本附件中 包含了以上各jar包: slf4j-log4j12-1.7.7.jar slf4j-api-1.7.7.jar slf4j-jdk14-1.7.7.jar slf4j-nop-1.7.7.jar slf4j-simple-1.7.7.jar slf4j-jcl-1.7.7.jar

    hibernate必须用到的jar修正版

    slf4j-simple-1.5.6.jar,slf4j-api-1.5.6.jar 整合SSH,或者SH时需要用的到jar包,只导入hibernate.jar是不行的,还需要这些包支持。收集起来给大家,不然大家一个个的找的很麻烦!

    Hibernate文档

    Nous commençons avec une simple application en ligne de commande utilisant une base de données en mémoire, et la développons en étapes faciles à comprendre. Ce didacticiel est destiné aux ...

    Hibernate Reference Documentation3.1

    4.1. A simple POJO example 4.1.1. Implement a no-argument constructor 4.1.2. Provide an identifier property (optional) 4.1.3. Prefer non-final classes (optional) 4.1.4. Declare accessors and mutators ...

    simple-hibernate:独立应用程序的简单Hibernate配置

    简单Hibernate 独立应用程序的简单Hibernate配置。 使用: Hibernate 4.3.6 c3p0 连接池 要运行应用程序: $ gradle run

Global site tag (gtag.js) - Google Analytics