Skip to content

Commit

Permalink
Remove javax.persitence in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Mar 2, 2023
1 parent 483e78e commit 6b07d98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions documentation/src/main/asciidoc/reference/introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ this stage are these three:
|===
| Configuration property name | Purpose

| `javax.persistence.jdbc.url` | JDBC URL of your database
| `javax.persistence.jdbc.user` and `javax.persistence.jdbc.password` | Your database credentials
| `jakarta.persistence.jdbc.url` | JDBC URL of your database
| `jakarta.persistence.jdbc.user` and `javax.persistence.jdbc.password` | Your database credentials
|===

These configuration properties have `jdbc` in their names, but of course
Expand Down Expand Up @@ -181,7 +181,7 @@ properties:
|===
| Configuration property name | Purpose

| `javax.persistence.schema-generation.database.action`
| `jakarta.persistence.schema-generation.database.action`
a| * If `create`, first drop the schema and then export tables, sequences, and constraints.
* If `create-only`, export tables, sequences, and constraints.
* If `create-drop`, drop the schema and recreate it on SessionFactory startup.
Expand All @@ -190,13 +190,13 @@ a| * If `create`, first drop the schema and then export tables, sequences, and c
* If `validate`, validate the database schema without changing it.
* If `update`, only export what's missing in the schema.

| `javax.persistence.create-database-schemas`
| `jakarta.persistence.create-database-schemas`
| (Optional) If `true`, automatically create schemas and catalogs

| `javax.persistence.schema-generation.create-source`
| `jakarta.persistence.schema-generation.create-source`
| (Optional) If `metadata-then-script` or `script-then-metadata`, execute an additional SQL script when exported tables and sequences

| `javax.persistence.schema-generation.create-script-source`
| `jakarta.persistence.schema-generation.create-script-source`
| (Optional) The name of the SQL script to be executed
|===

Expand Down Expand Up @@ -370,7 +370,7 @@ class Author {
You're quite free to mix and match:

- the regular JPA mapping annotations defined in the package
`javax.persistence` with
`jakarta.persistence. with
- the advanced mapping annotations in `org.hibernate.annotations`, and even
- annotations like `@NotNull` and `@Size` defined by Bean Validation.

Expand Down
2 changes: 1 addition & 1 deletion documentation/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ul>
An instance of {@link org.hibernate.reactive.mutiny.Mutiny.SessionFactory} or
{@link org.hibernate.reactive.stage.Stage.SessionFactory} may be obtained by
calling {@link javax.persistence.EntityManagerFactory#unwrap(Class)}.
calling {@link jakarta.persistence.EntityManagerFactory#unwrap(Class)}.
</p>

<p>
Expand Down

0 comments on commit 6b07d98

Please sign in to comment.