Skip to content

Commit eae3141

Browse files
Update EclipseLink doc to 4.0 (#1198)
1 parent 3ed554f commit eae3141

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extension/persistence/eclipselink/src/main/java/org/apache/polaris/extension/persistence/impl/eclipselink/PolarisEclipseLinkSessionCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* This pattern of injecting a SessionCustomizer is taken from the EclipseLink guide documentation:
2727
*
28-
* <p>https://eclipse.dev/eclipselink/documentation/2.6/dbws/creating_dbws_services002.htm
28+
* <p>https://eclipse.dev/eclipselink/documentation/4.0/dbws/dbws.html#performing-intermediate-customization
2929
*/
3030
public class PolarisEclipseLinkSessionCustomizer implements SessionCustomizer {
3131
@Override

site/content/in-dev/unreleased/metastores.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ on the type of database and its configuration.
5151

5252
> Note: You have to locate the `persistence.xml` at least two folders down to the root folder, e.g. `/deployments/config/persistence.xml` is OK, whereas `/deployments/persistence.xml` will cause an infinity loop.
5353
[Quarkus Configuration Reference]: https://quarkus.io/guides/config-reference
54-
[EclipseLink configuration file]: https://eclipse.dev/eclipselink/documentation/2.5/solutions/testingjpa002.htm
54+
[EclipseLink configuration file]: https://eclipse.dev/eclipselink/documentation/4.0/solutions/solutions.html#TESTINGJPA002
5555

5656
Polaris creates and connects to a separate database for each realm. Specifically, the `{realm}` placeholder in `jakarta.persistence.jdbc.url` is substituted with the actual realm name, allowing the Polaris server to connect to different databases based on the realm.
5757

5858
> Note: some database systems such as Postgres don't create databases automatically. Database admins need to create them manually before running Polaris server.
5959
60-
A single `persistence.xml` can describe multiple [persistence units](https://eclipse.dev/eclipselink/documentation/2.6/concepts/app_dev001.htm). For example, with both a `polaris-dev` and `polaris` persistence unit defined, you could use a single `persistence.xml` to easily switch between development and production databases. Use the `persistence-unit` option in the Polaris server configuration to easily switch between persistence units.
60+
A single `persistence.xml` can describe multiple [persistence units](https://eclipse.dev/eclipselink/documentation/4.0/concepts/concepts.html#APPDEV001). For example, with both a `polaris-dev` and `polaris` persistence unit defined, you could use a single `persistence.xml` to easily switch between development and production databases. Use the `persistence-unit` option in the Polaris server configuration to easily switch between persistence units.
6161

6262
### Using H2
6363

0 commit comments

Comments
 (0)