Jakarta Data Container
1.0

Jakarta Data is a programming model for data access.You can use Jakarta Data to represent data with Java objects called entitiesand to define operations on data as methods of a repository interface.A Jakarta Data provider supplies the repository implementation to an application.The dataContainer-1.0 feature only includes the Jakarta Data 1.0 specificationinterfaces. The dataContainer-1.0 feature does not include a Jakarta Data provider.

Enabling this feature

To enable the Jakarta Data 1.0 Container feature, add the following element declaration into your server.xml file, inside the featureManager element:

<feature>dataContainer-1.0</feature>

Standard API packages provided by this feature

  • jakarta.data

  • jakarta.data.exceptions

  • jakarta.data.metamodel

  • jakarta.data.metamodel.impl

  • jakarta.data.page

  • jakarta.data.page.impl

  • jakarta.data.repository

  • jakarta.data.spi

Features that this feature enables

Supported Java versions

  • JavaSE-17.0

  • JavaSE-21.0

  • JavaSE-25.0

  • JavaSE-26.0

Platform Versions

  • jakartaee-11.0

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

io.openliberty.dataContainer-1.0; type="osgi.subsystem.feature"