Skip to content

Commit ce97fe4

Browse files
committed
Merge remote-tracking branch 'upstream/master' into findVersions_over_historied_historyless_historied
Conflicts: ebean-test/src/test/java/org/tests/model/history/HistoryOneToOne.java ebean-test/src/test/java/org/tests/model/history/HistorylessOneToOne.java
2 parents e0c9e1d + eab4f9c commit ce97fe4

File tree

1,778 files changed

+13314
-14844
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,778 files changed

+13314
-14844
lines changed

.github/workflows/multi-jdk-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
java_version: [11, 17]
19+
java_version: [11, 17, 21]
2020
os: [ubuntu-latest]
2121

2222
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ebean-profiling*.xml
1111
/db
1212
/mydb.db
1313
profiling/
14+
.DS_Store
1415

1516
# Intellij project files
1617
*.iml

CONFIGURATION.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Overview of ebean.properties file
44

55
### DbMigration options
66

7-
You can set individual values for different platforms when generating migrations
7+
You can set individual values for different platforms when generating migrations.
88

99
`dbmigration.platform.<PLATFORM>.databaseSequenceBatchSize`
1010
For DB's using sequences this is the number of sequence values prefetched.
1111

1212
`dbmigration.platform.<PLATFORM>.dbuuid`
13-
Control, how UUID generation should work - it affects DDL which column type is generated. Possible values:
13+
Control, how UUID generation should work - it affects which column type is generated in DDL. Possible values:
1414
- BINARY enforces binary UUID
1515
- VARCHAR enforces varchar UUID
1616
- BINARY_OPTIMIZED enforces binary-optimized UUID (makes sense only with Type1 ID)
@@ -19,7 +19,7 @@ Control, how UUID generation should work - it affects DDL which column type is g
1919
- AUTO_VARCHAR (default) use varchar when platform does not support UUID
2020

2121
`dbmigration.platform.<PLATFORM>.uuidStoreAsBinary`
22-
Same as setting dbuuid to BINARY
22+
Same as setting dbuuid to BINARY.
2323

2424
`dbmigration.platform.<PLATFORM>.geometrySRID`
2525
The Geometry SRID value (default 4326).
@@ -30,7 +30,6 @@ The ID type (IDENTITY, SEQUENCE, GENERATOR, EXTERNAL)
3030
`dbmigration.platform.<PLATFORM>.mapping`
3131
Adjust the mapping. For example `BOOLEAN=integer(32);BIT=tinyint(3)`
3232

33-
3433
`ebean.migration.applyPrefix`
3534
Set this to "V" to be compatible with FlywayDB.
3635

@@ -50,7 +49,7 @@ Set to true if the DB migration should be generated on server start.
5049
The version of a pending drop that should be generated as the next migration.
5150

5251
`ebean.migration.includeGeneratedFileComment`
53-
TODO
52+
Adds the header about the migration files being generated when true. Reading 'THIS IS A GENERATED FILE - DO NOT MODIFY'
5453

5554
`ebean.migration.metaTable`
5655
For running migration the DB table that holds migration execution status. Default 'db_migration'
@@ -65,17 +64,17 @@ Subdirectory the model xml files go into. Default 'model'
6564
Suffix. Default '.model.xml'
6665

6766
`ebean.migration.name`
68-
Description text that can be appended to the version to become the ddl script file name
67+
Description text that can be appended to the version to become the ddl script file name.
6968

7069
`ebean.migration.patchInsertOn`
71-
migration versions that should be added to history without running.
70+
Migration versions that should be added to history without running.
7271

7372
`ebean.migration.patchResetChecksumOn`
7473
migration versions that should have their checksum reset and not run.
7574
Use this if you get a 'Checksum mismatch' error.
7675

7776
`ebean.migration.placeholders`
78-
A comma and equals delimited placeholders that are substituted in SQL scripts when running migration (used by DB Migration runner only).
77+
A comma and equals delimited map of placeholders that are substituted in SQL scripts when running migration (used by DB Migration runner only).
7978

8079
`ebean.migration.platform`
8180
The database platform to generate migration DDL for.
@@ -90,15 +89,15 @@ The migration version name (typically FlywayDb compatible). Example: 1.1.1_2
9089
### Ebean UUID options
9190

9291
`ebean.uuidVersion`
93-
Controls, how the UUIDs are generated. Possible values
92+
Controls how the UUIDs are generated. Possible values:
9493
- VERSION4 (default) generate random V4 UUIDs,
9594
- VERSION1 generate rfc4122 compliant Type 1 UUIDs (requires a state file)
9695
- VERSION1RND generate fake Type 1 UUIDs
9796

9897
Note, that V1 UUIDs in conjunction with AUTO_BINARY_OPTIMIZED will give you the best index performance, but you MUST understand how this works to avoid collisions.
9998

10099
`ebean.uuidStateFile`
101-
The state file that is Required to generate V1 UUIDs
100+
The state file that is required to generate V1 UUIDs.
102101

103102

104103
### DocStoreConfig
@@ -107,7 +106,7 @@ The state file that is Required to generate V1 UUIDs
107106
True when the Document store integration is active/on.
108107

109108
`ebean.docstore.allowAllCertificates`
110-
Set to true such that the client allows connections to invalid/self signed SSL certificates.
109+
Set to true such that the client allows connections to invalid/self-signed SSL certificates.
111110

112111
`ebean.docstore.bulkBatchSize`
113112
The default batch size to use for the Bulk API calls.
@@ -192,7 +191,7 @@ Suffix appended to the base table to derive the view that contains the union of
192191
Set to true if the DataSource uses autoCommit. Indicates that Ebean should use autoCommit friendly Transactions and TransactionManager.
193192

194193
`ebean.autoReadOnlyDataSource`
195-
When true create a read only DataSource using readOnlyDataSourceConfig defaulting values from dataSourceConfig
194+
When true create a read only DataSource using readOnlyDataSourceConfig defaulting values from dataSourceConfig.
196195

197196
`ebean.autostart`
198197
Should the server start all

composites/ebean-clickhouse/pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>composites</artifactId>
5+
<artifactId>ebean-parent</artifactId>
66
<groupId>io.ebean</groupId>
7-
<version>13.18.0</version>
7+
<version>13.22.0</version>
8+
<relativePath>../..</relativePath>
89
</parent>
910

1011
<name>ebean-clickhouse</name>
@@ -16,13 +17,13 @@
1617
<dependency>
1718
<groupId>io.ebean</groupId>
1819
<artifactId>ebean-api</artifactId>
19-
<version>13.18.0</version>
20+
<version>13.22.0</version>
2021
</dependency>
2122

2223
<dependency>
2324
<groupId>io.ebean</groupId>
2425
<artifactId>ebean-core</artifactId>
25-
<version>13.18.0</version>
26+
<version>13.22.0</version>
2627
</dependency>
2728

2829
<dependency>
@@ -41,13 +42,13 @@
4142
<dependency>
4243
<groupId>io.ebean</groupId>
4344
<artifactId>ebean-querybean</artifactId>
44-
<version>13.18.0</version>
45+
<version>13.22.0</version>
4546
</dependency>
4647

4748
<dependency>
4849
<groupId>io.ebean</groupId>
4950
<artifactId>ebean-platform-clickhouse</artifactId>
50-
<version>13.18.0</version>
51+
<version>13.22.0</version>
5152
</dependency>
5253

5354
</dependencies>

composites/ebean-cockroach/pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>composites</artifactId>
5+
<artifactId>ebean-parent</artifactId>
66
<groupId>io.ebean</groupId>
7-
<version>13.18.0</version>
7+
<version>13.22.0</version>
8+
<relativePath>../..</relativePath>
89
</parent>
910

1011
<name>ebean-cockroach</name>
@@ -16,13 +17,13 @@
1617
<dependency>
1718
<groupId>io.ebean</groupId>
1819
<artifactId>ebean-api</artifactId>
19-
<version>13.18.0</version>
20+
<version>13.22.0</version>
2021
</dependency>
2122

2223
<dependency>
2324
<groupId>io.ebean</groupId>
2425
<artifactId>ebean-core</artifactId>
25-
<version>13.18.0</version>
26+
<version>13.22.0</version>
2627
</dependency>
2728

2829
<dependency>
@@ -41,13 +42,13 @@
4142
<dependency>
4243
<groupId>io.ebean</groupId>
4344
<artifactId>ebean-querybean</artifactId>
44-
<version>13.18.0</version>
45+
<version>13.22.0</version>
4546
</dependency>
4647

4748
<dependency>
4849
<groupId>io.ebean</groupId>
4950
<artifactId>ebean-platform-postgres</artifactId>
50-
<version>13.18.0</version>
51+
<version>13.22.0</version>
5152
</dependency>
5253

5354
</dependencies>

composites/ebean-db2/pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>composites</artifactId>
5+
<artifactId>ebean-parent</artifactId>
66
<groupId>io.ebean</groupId>
7-
<version>13.18.0</version>
7+
<version>13.22.0</version>
8+
<relativePath>../..</relativePath>
89
</parent>
910

1011
<name>ebean-db2</name>
@@ -16,13 +17,13 @@
1617
<dependency>
1718
<groupId>io.ebean</groupId>
1819
<artifactId>ebean-api</artifactId>
19-
<version>13.18.0</version>
20+
<version>13.22.0</version>
2021
</dependency>
2122

2223
<dependency>
2324
<groupId>io.ebean</groupId>
2425
<artifactId>ebean-core</artifactId>
25-
<version>13.18.0</version>
26+
<version>13.22.0</version>
2627
</dependency>
2728

2829
<dependency>
@@ -41,13 +42,13 @@
4142
<dependency>
4243
<groupId>io.ebean</groupId>
4344
<artifactId>ebean-querybean</artifactId>
44-
<version>13.18.0</version>
45+
<version>13.22.0</version>
4546
</dependency>
4647

4748
<dependency>
4849
<groupId>io.ebean</groupId>
4950
<artifactId>ebean-platform-db2</artifactId>
50-
<version>13.18.0</version>
51+
<version>13.22.0</version>
5152
</dependency>
5253

5354
</dependencies>

composites/ebean-h2/pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>composites</artifactId>
5+
<artifactId>ebean-parent</artifactId>
66
<groupId>io.ebean</groupId>
7-
<version>13.18.0</version>
7+
<version>13.22.0</version>
8+
<relativePath>../..</relativePath>
89
</parent>
910

1011
<name>ebean-h2</name>
@@ -16,13 +17,13 @@
1617
<dependency>
1718
<groupId>io.ebean</groupId>
1819
<artifactId>ebean-api</artifactId>
19-
<version>13.18.0</version>
20+
<version>13.22.0</version>
2021
</dependency>
2122

2223
<dependency>
2324
<groupId>io.ebean</groupId>
2425
<artifactId>ebean-core</artifactId>
25-
<version>13.18.0</version>
26+
<version>13.22.0</version>
2627
</dependency>
2728

2829
<dependency>
@@ -41,13 +42,13 @@
4142
<dependency>
4243
<groupId>io.ebean</groupId>
4344
<artifactId>ebean-querybean</artifactId>
44-
<version>13.18.0</version>
45+
<version>13.22.0</version>
4546
</dependency>
4647

4748
<dependency>
4849
<groupId>io.ebean</groupId>
4950
<artifactId>ebean-platform-h2</artifactId>
50-
<version>13.18.0</version>
51+
<version>13.22.0</version>
5152
</dependency>
5253

5354
</dependencies>

composites/ebean-hana/pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>composites</artifactId>
5+
<artifactId>ebean-parent</artifactId>
66
<groupId>io.ebean</groupId>
7-
<version>13.18.0</version>
7+
<version>13.22.0</version>
8+
<relativePath>../..</relativePath>
89
</parent>
910

1011
<name>ebean-hana</name>
@@ -16,13 +17,13 @@
1617
<dependency>
1718
<groupId>io.ebean</groupId>
1819
<artifactId>ebean-api</artifactId>
19-
<version>13.18.0</version>
20+
<version>13.22.0</version>
2021
</dependency>
2122

2223
<dependency>
2324
<groupId>io.ebean</groupId>
2425
<artifactId>ebean-core</artifactId>
25-
<version>13.18.0</version>
26+
<version>13.22.0</version>
2627
</dependency>
2728

2829
<dependency>
@@ -41,13 +42,13 @@
4142
<dependency>
4243
<groupId>io.ebean</groupId>
4344
<artifactId>ebean-querybean</artifactId>
44-
<version>13.18.0</version>
45+
<version>13.22.0</version>
4546
</dependency>
4647

4748
<dependency>
4849
<groupId>io.ebean</groupId>
4950
<artifactId>ebean-platform-hana</artifactId>
50-
<version>13.18.0</version>
51+
<version>13.22.0</version>
5152
</dependency>
5253

5354
</dependencies>

composites/ebean-mariadb/pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>composites</artifactId>
5+
<artifactId>ebean-parent</artifactId>
66
<groupId>io.ebean</groupId>
7-
<version>13.18.0</version>
7+
<version>13.22.0</version>
8+
<relativePath>../..</relativePath>
89
</parent>
910

1011
<name>ebean-mariadb</name>
@@ -16,13 +17,13 @@
1617
<dependency>
1718
<groupId>io.ebean</groupId>
1819
<artifactId>ebean-api</artifactId>
19-
<version>13.18.0</version>
20+
<version>13.22.0</version>
2021
</dependency>
2122

2223
<dependency>
2324
<groupId>io.ebean</groupId>
2425
<artifactId>ebean-core</artifactId>
25-
<version>13.18.0</version>
26+
<version>13.22.0</version>
2627
</dependency>
2728

2829
<dependency>
@@ -41,13 +42,13 @@
4142
<dependency>
4243
<groupId>io.ebean</groupId>
4344
<artifactId>ebean-querybean</artifactId>
44-
<version>13.18.0</version>
45+
<version>13.22.0</version>
4546
</dependency>
4647

4748
<dependency>
4849
<groupId>io.ebean</groupId>
4950
<artifactId>ebean-platform-mariadb</artifactId>
50-
<version>13.18.0</version>
51+
<version>13.22.0</version>
5152
</dependency>
5253

5354
</dependencies>

0 commit comments

Comments
 (0)