Systems and methods for composite persistence units
US9177033B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 20, 2011 |
| Grant date | Nov 3, 2015 |
| Priority date | — |
| Expiry date | Dec 20, 2031 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F16/25
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
In an EclipseLink environment, persistence units are associated with a single data source. However, in accordance with an embodiment, a user can define multiple persistence units, each with a different set of entity types (i.e., classes) stored in multiple data sources, and expose them through a single composite persistence unit which combines the entities from across the multiple data sources through a single persistence context. A plurality of different types of data sources can be used, including Java Transaction API (JTA) and non-JTA data sources as well as EclipseLink's native JDBC connection pools. Each member persistence unit continues mapping its classes to its own data source. Therefore, a composite persistence unit allows one to map different entities to different data sources. Composite persistence units can be created at runtime.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.