没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > oopex |
oopex
|
0 | 0 | 336 |
贡献者 | 讨论 | 代码提交 |
This project provides code samples of how to use well-known Java persistence frameworks. This project aims at easing the first steps when evaluating a (new) Java persistence framework. The provided samples will exhaustively exemplify all general features of these persistence frameworks. All samples are based on Ant and include Eclipse project settings.
Samplesstandard use cases hello world - setup tooling and runtime environment hidden object identity - also known as datastore identity optimitic locking - write locks using the optimitic offline lock protocol pessimistic locking - write locks using pessimistic online (database) locks attach/detach - passing persistent instances arround composite primary key - when a to-one association is part of the primary key getter/setter access - in contrast to field access in memory query - querying for uncommitted entities fields date/time big decimal large binary objects/large character objects enumerations relationships one to one: unidirectional with join column/join table, bidirectional with join column/join table, opposed FK, embedded one to many: unidirectional with join column/join table, bidirectional with join column/join table, ordered, naturally ordered, dependent many to many: unidirectional, bidirectional, ordered, naturally ordered list of primitives inheritance new table strategy superclass table strategy subclass table strategy mixed new table/superclass table strategy combined new table/superclass table strategy querying is-null queries object queries bulk update/delete queries collection queries - is-empty, none-of, any-of, all-of downcast-criterias optimizations eager fetching / lazy loading fetch plans Used FrameworksApache Cayenne 3 Milestone 3 see http://cayenne.apache.org/ native mode, JPA, JPA with XML DataNucleus Access Platform 1.1 see http://www.datanucleus.org/ JDO 2.3, JPA, JPA with XML, JPA on db4o db4objects 7 see http://www.db4o.com/ native mode (TCP mode later) EclipseLink 1.1 see http://www.eclipse.org/eclipselink/ JPA, JPA with XML Hibernate 3.3 (Core) see http://www.hibernate.org/ native mode, JPA, JPA with XML JPOX 1.2 see http://www.jpox.org/ JDO, JDO 2.1, JPA, JPA with XML Kodo 4.1 see http://www.bea.com/kodo/ JDO, JPA, JPA with XML Apache OpenJPA 1.2 see http://openjpa.apache.org/ JPA, JPA with XML Toplink Essentials see https://glassfish.dev.java.net/javaee5/persistence/ JPA, JPA with XML Oracle TopLink 11g see http://www.oracle.com/technology/products/ias/toplink/index.html native mode, native mode with XML Xcalia Intermediation Core 4.4 see http://www.xcalia.com/products/ JDO All names are trademarks or registered trademarks of their respective owners.