Systems and methods for composite persistence units
AssigneeOracle International Corporation
InventorsAndrei Ilitchev, James Sutherland, Douglas Clarke
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsAndrei Ilitchev, James Sutherland, Douglas Clarke
Estimating the term…
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.
A server system, comprising:
A method for using multiple data sources with a composite persistence unit, comprising:
A non-transitory computer readable storage medium, including instructions stored thereon which, when executed by a computer, cause the computer to perform the steps comprising:
Dependencies are inferred from the claim text.