
jpa
maqingbin8888
这个作者很懒,什么都没留下…
展开
-
使用 Apache OpenJPA 开发 EJB 3.0 应用,第 5 部分: 实体标识的自动生成
JPA(Java Persistence API)是 EJB 3.0 新引入的数据持久化编程模型。JPA 充分利用了注释(Annotation)和对象/关系映射,为数据持久化提供了更简单、易用的编程方式。OpenJPA 是 Apache 组织提供的 JPA 标准实现。本文是 使用 Apache OpenJPA 开发 EJB 3.0 应用系列 的第五部分,介绍在 OpenJPA 中如何自动生成实体的转载 2009-03-24 10:24:00 · 835 阅读 · 0 评论 -
persistence.xml
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/原创 2009-04-11 21:33:00 · 2387 阅读 · 0 评论 -
JPA
这是我从网上看到一篇文章,仅供学习之用。JPA注解@Entity@Table(name="?")@Id @GeneratedValue(strategy=?) 默认值:strategy=GenerationType.AUTO@Temporal(TemporalType.DATE|TIME|TIMESTAMP) 指定时间格式类型@Enumerated(EnumType转载 2009-04-13 19:53:00 · 882 阅读 · 0 评论 -
ClassPathXmlApplicationContext和FileSystemXmlApplicationContext的路径设置祥解
这是从网上找的一篇文章,只是用来学习的。/* * Created on 2004-10-16 * * http://www.open-v.com 提供代码的维护工作 */package com.openv.spring; import org.apache.commons.logging.Log;import org.ap转载 2009-04-10 22:20:00 · 93 阅读 · 0 评论