`
laodaobazi
  • 浏览: 276940 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
Hibernate 3.1 提供了多种附加的注解,这些注解可以与EJB3的实体混合/匹配使用。 他们被设计成EJB3注解的自然扩展。   为了强化EJB3的能力,Hibernate提供了与其自身特性相吻合的特殊注解。org.hibernate.annotations 包已包含了所 ...
一、搭建SVN之前先做好准备工作     1、获取 Subversion         到官方网站(http://subversion.tigris.org/)下载最新的服务器安装程序。目前最新的是1.6版本,    具体下载地址在:http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=11151&expandFolder=11151&folderID=11147          2、获取 TortoiseSVN 客户端程序 从官方网站 http://tortoisesvn.ne ...
Oracle 数据库分页 三层嵌套: select * from ( select row_.*, rownum rownum_ from ( select this_.id as id63_3_, this_.amount as amount63_3_, this_.arrival_time as arrival3_63_3_, ...
Category.java代码: package com.jlee07.cache; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.Cach ...
Category.java代码: package com.jlee06.QL; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; /** * @author JLee * 板块 */ @Entit ...
Group.java代码: package com.jlee05.one2moneyshuangxiang; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import j ...
Group.java代码: package com.jlee04.one2moneydanxiang; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import ...
Group.java代码: package com.jlee04.money2onedanxiang; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="T ...
Hibernate Annotation 联合主键有三种写法 : 第一种: Jlee01.java代码: package com.jlee03.compositeId; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * @author JLee * @since 2011-2-10 * ...
hibernate.cfg.xml配置文件: <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configurat ...
Hibernate 注解 定义在 class 上面的注解 :  实体 @Entity  表 @Table  Sequence 自定义名字 @SequenceGenerator(name="mySeq" , sequenceName="mySeq_DB")  表生成器 @java.persistence.TableGenerator(   name = "表生成器的名字:myTableGen" ...
Hello World 程序   hibernate.cfg.xml配置文件:   <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> & ...
 Windows下Resin的配置与部署 从Resin官网(http://www.caucho.com)下载Resin(我们这里使用最新版本3.1.10)解压 将解压后的 Resin 集成到 MyEclipse 中 方法如图1 Window---->Perferences---->MyEclipse---->Servers---->Resin---->Resin 3.x     选择 安装好的 JDK   启动 Resin 如图所示   Resin成功启动后,启动后在浏览器输入http://localhost:8080/进入Resin ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class RegisterMyeclipse { private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright ...
JS操作 Access 数据库 <SCRIPT LANGUAGE="JavaScript"> <!-- var filePath = location.href.substring(0, location.href.indexOf("实例197.连接Access数据库.html")); //以当前页面文件为基础,找到文件所在的绝对路径 var path = filePath + "197.mdb"; path = path.substring(8); var objdbConn = ...
Global site tag (gtag.js) - Google Analytics