Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Gemini/JPA/Documentation/Limitations"

(New page: == Limitations == # Container Mode #:The OSGi JPA specification does not define or support the notion of Container mode in JPA, only Java SE mode (using the JPA 2.0 javax.persistence.jdbc...)
 
m (Limitations)
 
Line 7: Line 7:
 
# jar-file Element
 
# jar-file Element
 
#:Mostly because of (2), there is no support for the jar-file element in the persistence descriptor. All entities must be in the persistence bundle and on the bundle classpath.
 
#:Mostly because of (2), there is no support for the jar-file element in the persistence descriptor. All entities must be in the persistence bundle and on the bundle classpath.
# Multiple Providers
+
# JPA Provider
#:Support for multiple installed persistence providers is provided, but the OSGi JPA specification does not prescribe how a persistence unit that does not specify the provider is assigned to a provider. When multiple persistence providers are active, persistence units should always include a provider element.
+
#:Gemini JPA only supports EclipseLink as the JPA provider
 
# JTA Transactions
 
# JTA Transactions
 
#:Primarily because of (1), only the RESOURCE_LOCAL transaction type is supported. Support for JTA transactions is not currently offered.
 
#:Primarily because of (1), only the RESOURCE_LOCAL transaction type is supported. Support for JTA transactions is not currently offered.

Latest revision as of 09:58, 18 October 2012

Limitations

  1. Container Mode
    The OSGi JPA specification does not define or support the notion of Container mode in JPA, only Java SE mode (using the JPA 2.0 javax.persistence.jdbc properties).
  2. Self-contained Persistence Bundles
    The OSGi JPA specification dictates that all entities and metadata for a given persistence unit must be contained within a single persistence bundle.
  3. jar-file Element
    Mostly because of (2), there is no support for the jar-file element in the persistence descriptor. All entities must be in the persistence bundle and on the bundle classpath.
  4. JPA Provider
    Gemini JPA only supports EclipseLink as the JPA provider
  5. JTA Transactions
    Primarily because of (1), only the RESOURCE_LOCAL transaction type is supported. Support for JTA transactions is not currently offered.

Back to the top