-
Notifications
You must be signed in to change notification settings - Fork 352
docs: adapt metastores.md to Quarkus #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a09a937 to
e256ace
Compare
e256ace to
4b1fa04
Compare
|
cc @aihuaxu |
flyrain
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor comments.
|
|
||
| > Note: some database systems such as Postgres don't create databases automatically. Database admins need to create them manually before running Polaris server. | ||
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be nice to give an example of a single file with multiple units. But it isn't a blocker to me. We can improve on it later.
Note: this PR assumes #610 will get merged in its current state.