06 2016 档案
摘要:JPA是什么 JPA全称Java Persistence API,是一组用于将数据存入数据库的类和方法的集合。JPA通过JDK 5.0注解或XML描述对象-关系表的映射关系,并将运行期的实体对象持久化到数据库中。 JPA Providers JPA是开源API,各企业经营商Oracle, Redha
阅读全文
摘要:这篇文章学习如何使用Torque,作为一个ORM(a tool that maps relational databases to java classes) 用Torque访问数据库,需要如下步骤 定义描述数据库结构(tables, columns等)的schema文件 通过schema生成cla
阅读全文
摘要:Introduction Apache Torque is an object-relational mapper for java. In other words, Torque lets you access and manipulate data in a relational databas
阅读全文
摘要:Introduction DdlUtils is a small, easy-to-use component for working with Database Definition (DDL) files. These are XML files that contain the definit
阅读全文
摘要:Introduction What's JDBC JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Ja
阅读全文