Rob Bygrave
2edfc33d00
[maven-release-plugin] prepare release ebean-parent-13.6.3
2022-05-24 13:46:09 +12:00
Rob Bygrave
37902c75eb
Bump ebean-agent to 13.6.3
2022-05-24 13:41:13 +12:00
Rob Bygrave and GitHub
14abb34739
Merge pull request #2704 from ebean-orm/feature/2702-renameTable
...
#2702 - IllegalArgumentException: No rule for io.ebeaninternal.dbmigration.migration.RenameTable
2022-05-24 10:55:11 +12:00
Rob Bygrave
68680ffd34
#2702 - IllegalArgumentException: No rule for io.ebeaninternal.dbmigration.migration.RenameTable
...
Add support for applying the RenameTable change to the model.
2022-05-24 10:48:38 +12:00
Rob Bygrave
8106ffd73d
#2703 - Bump ebean-test-containers to 6.0 (Java 11 and System.Logger)
2022-05-24 10:20:04 +12:00
Rob Bygrave and GitHub
d00cb854fc
Merge pull request #2703 from ebean-orm/feature/ebean-test-containers
...
ebean-test-docker was renamed to ebean-test-containers
2022-05-24 09:03:22 +12:00
Rob Bygrave
ca445b5226
ebean-test-docker was renamed to ebean-test-containers
...
- Migrate from io.ebean:ebean-test-docker -> io.ebean:ebean-test-containers
- Migrate (with 5.8) package from io.ebean.docker.commands -> io.ebean.test.containers
2022-05-24 08:54:58 +12:00
Rob Bygrave
74b4994221
#2701 -[DDL] Postgres DDL generation for table partitioning with schema - helper method to add partitions does not work
...
This also removes the helper partition_init() stored function as it isn't really needed now that postgres has default partition support (since PG11 actually, partition_init predates PG11).
2022-05-23 20:39:45 +12:00
Rob Bygrave
62106935f4
Bump test modules to 13.6.3-SNAPSHOT after release
2022-05-18 21:01:40 +12:00
Rob Bygrave
bf034eb2a1
Bump test modules to 13.6.3-SNAPSHOT after release
2022-05-18 20:26:30 +12:00
Rob Bygrave
c5e980991e
[maven-release-plugin] prepare for next development iteration
2022-05-18 20:11:18 +12:00
Rob Bygrave
1004675a0b
[maven-release-plugin] prepare release ebean-parent-13.6.2
2022-05-18 20:11:12 +12:00
Rob Bygrave
12e508ab48
Merge branch 'master' of github.com:ebean-orm/ebean
2022-05-18 18:25:38 +12:00
Rob Bygrave
be0e1116a7
Bump ebean-agent to 13.6.2
2022-05-18 18:25:24 +12:00
Rob Bygrave and GitHub
4b03c8a00a
Merge pull request #2698 from ebean-orm/feature/tidy-beancollection
...
No effective change - tidy BeanList etc, BeanCollectionHelpFactory to use specific CQueryCollectionAdd for List and Set
2022-05-18 18:03:09 +12:00
Rob Bygrave
0db93bc82d
No effective change - tidy BeanList etc, BeanCollectionHelpFactory to use specific CQueryCollectionAdd for List and Set
2022-05-18 17:33:08 +12:00
Rob Bygrave
e04a1baabe
Bump tile enhancement to 13.6.0
2022-05-18 15:35:38 +12:00
Rob Bygrave and GitHub
506e2f5625
Merge pull request #2697 from ebean-orm/feature/postgres-table-partitioning-pk
...
Postgres DDL - With Postgres table partitioning, add partition column to primary key
2022-05-17 22:18:55 +12:00
Rob Bygrave
7fbc1f8111
Postgres DDL - With Postgres table partitioning, add partition column to primary key
...
- Postgres DDL generation
- Using table partitioning
- There is a primary key defined that doesn't contain the partition column
In DDL generation, automatically add the partition column to the DB primary key.
2022-05-17 21:39:06 +12:00
Rob Bygrave
4f3c9adf6f
#2695 - DDL Generation for @UniqueConstraint ignores the name - should be the index name when given
2022-05-16 22:06:14 +12:00
Rob Bygrave
ceac2d12b1
#2694 - Postgres DDL - For Postgres table partitioning, remove the "suppressPrimaryKeyOnPartition" mode
2022-05-16 21:48:19 +12:00
Rob Bygrave
cc7f3d49a4
No effective change, tidy whitespace
2022-05-16 21:35:46 +12:00
Rob Bygrave and GitHub
091c40867e
Merge pull request #2693 from ebean-orm/feature/add-schema-support
...
DDL - Add support for creating schema via database migrations (and create all ddl)
2022-05-16 21:28:59 +12:00
Rob Bygrave
71b7aa5946
DDL - Add support for creating schema via database migrations (and create all ddl)
...
Initially for H2 and Postgres, with commented out DDL for other platforms.
2022-05-16 21:17:41 +12:00
Rob Bygrave
9dea51b7a0
#2692 - [querybean generation] Compile error, incorrect generation with nested inner class/record @Embeddable and @IdClass
2022-05-16 18:48:42 +12:00
Rob Bygrave
b7d6374370
Improve error message when no platform providers are in the classpath
2022-05-16 18:47:48 +12:00
Rob Bygrave
195cb9c86c
Adjust postgis build test container - use specific containerName
2022-05-16 16:36:32 +12:00
Rob Bygrave
1329a4775c
Bump test modules to 13.6.2-SNAPSHOT after release
2022-05-16 12:35:41 +12:00
Rob Bygrave
cc91ca5c2a
[maven-release-plugin] prepare for next development iteration
2022-05-16 12:22:31 +12:00
Rob Bygrave
c863fe7781
[maven-release-plugin] prepare release ebean-parent-13.6.1
2022-05-16 12:22:25 +12:00
Rob Bygrave
8dec17c1f3
Bump ebean-agent to 13.6.1 - #2687
2022-05-16 12:05:54 +12:00
Rob Bygrave
36d589d4f3
#2691 - Improve logging summary when insert bean with no @Id ...
2022-05-16 11:30:36 +12:00
Rob Bygrave
dedafa0b93
Modify GH WF EA builds adding mvn --version ... for info on versions used for build
2022-05-13 13:58:13 +12:00
Rob Bygrave and GitHub
7b91b9ec48
Merge pull request #2690 from ebean-orm/bug/orphan-collection-replacement
...
Bug - OneToMany orphanRemoval = true, replace collection adding back …
2022-05-13 12:13:19 +12:00
Rob Bygrave and GitHub
c5940dacf1
Merge pull request #2688 from ebean-orm/feature/test-docker-52
...
Bump to ebean-test-docker 5.3
2022-05-13 11:42:33 +12:00
Rob Bygrave
a4df643d82
#2690 - Refactor internals, tidy SaveManyBeans
...
- Introduce hasOrderColumn field
- Add clearedParent flag to only clear the parent bean from persistence context once (not per detail bean)
2022-05-13 11:38:39 +12:00
Rob Bygrave
74174444bb
Bug - OneToMany orphanRemoval = true, replace collection adding back original collection entry
...
- Adding back a bean from the original collection
- Expect that bean to exist in the final result but, it's missing
Fix here is in SaveManyBeans to add a insertAllChildren and use ebi.setNew(); for beans to force them to insert for this case.
2022-05-12 23:14:26 +12:00
Rob Bygrave
317ad8de9c
Bump to ebean-test-docker 5.3
...
- Supports random ports
- Simplified shutdownMode
- Improved logging on shutdown
2022-05-12 18:43:38 +12:00
Rob Bygrave
4b260483ce
Test only - Adjust timing in TestHistoryInsert.mariadb_simple_history()
2022-05-12 17:14:20 +12:00
Rob Bygrave
6a575cb1bf
Change ebean-test postgis image to postgis/postgis from mdillon/postgis
...
- Also bump default version to 14
2022-05-12 17:05:23 +12:00
Rob Bygrave
a13e1cf074
Bump to ebean-test-docker 5.2
...
- Supports random ports
- Simplified shutdownMode
2022-05-12 16:43:41 +12:00
Rob Bygrave
c59475084a
#2686 - [ebean-test] Allow docker configuration options to be at ebean.test.X as well as ebean.test.<platform>.X
2022-05-05 20:54:07 +12:00
Rob Bygrave
f41704b58c
#2685 - Bump ebean-test-docker to 5.1 with newBuilder() -> builder() with deprecation
2022-05-05 09:17:35 +12:00
Rob Bygrave
5bb9745b3c
Bump to 13.6.1-SNAPSHOT after release
2022-05-03 15:36:03 +12:00
Rob Bygrave
1c072f1d0a
[maven-release-plugin] prepare for next development iteration
2022-05-03 15:13:20 +12:00
Rob Bygrave
bac7eb11bd
[maven-release-plugin] prepare release ebean-parent-13.6.0
2022-05-03 15:13:13 +12:00
Rob Bygrave
a8c2e4db3f
Our release profile is now called "central"
2022-05-03 15:09:34 +12:00
Rob Bygrave
67a4e66b00
[maven-release-plugin] rollback the release of ebean-parent-13.6.0
2022-05-03 15:07:55 +12:00
Rob Bygrave
0d1d212f9f
[maven-release-plugin] prepare for next development iteration
2022-05-03 14:59:36 +12:00
Rob Bygrave
f44c77f5f5
[maven-release-plugin] prepare release ebean-parent-13.6.0
2022-05-03 14:59:29 +12:00
Rob Bygrave
65d07f4af9
Merge branch 'master' of github.com:ebean-orm/ebean
2022-05-03 14:48:52 +12:00
Rob Bygrave
c74de4c221
Bump ebean-agent to 13.6.0
2022-05-03 14:48:38 +12:00
Rob Bygrave and GitHub
ebbef86def
Merge pull request #2626 from ebean-orm/wip/EntityBeanIntercept-interface
...
Support EntityBeanIntercept as an interface with InterceptReadWrite and InterceptReadOnly options
2022-05-03 14:15:49 +12:00
Rob Bygrave
3fab465a13
#2649 - Bump avaje-config to 2.0 (uses System.Logger and not slf4j-api)
2022-05-03 13:50:22 +12:00
Rob Bygrave and GitHub
ff662bff58
Merge pull request #2683 from ebean-orm/feature/bump-datasource
...
Bump ebean-datasource to 8.0 with use of System.Logger (from slf4j-api)
2022-05-03 13:46:18 +12:00
Rob Bygrave
cc7acd4761
Bump ebean-datasource to 8.0 with use of System.Logger (from slf4j-api)
2022-05-03 13:45:35 +12:00
Rob Bygrave and GitHub
1365e39e94
Merge pull request #2681 from ebean-orm/feature/2647
...
#2647 - When Postgres + isAllQuotedIdentifiers true + using DataSourceConfig THEN `datasourceConfig.addProperty("quoteReturningIdentifiers", false);`
2022-05-03 13:38:10 +12:00
Rob Bygrave and GitHub
a73eb1c42f
Merge pull request #2648 from ebean-orm/feature/bump-classpathscanner
...
Bump avaje classpath scanner to 7.1, ignores module-info, uses System.Logger (not slf4j-api)
2022-05-03 13:36:39 +12:00
Rob Bygrave and GitHub
3f5a610df1
Merge pull request #2650 from ebean-orm/feature/bump-ddlrunner
...
Bump ebean-ddl-runner (sync version with ebean-migration)
2022-05-03 13:36:29 +12:00
Rob Bygrave and GitHub
d96e28991c
Merge pull request #2682 from ebean-orm/feature/ebean-migration-system-logger
...
Bump ebean-migration to 13.6.0 (bumps classpath scanner and ebean-ddl-runner)
2022-05-03 13:36:16 +12:00
Rob Bygrave
e84d12dad8
Bump ebean-migration to 13.6.0 (bumps classpath scanner and ebean-ddl-runner)
2022-05-03 13:30:09 +12:00
Rob Bygrave
1d4f2ad856
#2626 - Add final modifier to methods - For readOnly disableLazyLoad using Collections.EMPTY_LIST etc
2022-05-03 12:23:22 +12:00
Rob Bygrave
84042397b6
#2626 - For readOnly disableLazyLoad using Collections.EMPTY_LIST etc for reference collections
2022-05-03 12:12:47 +12:00
Rob Bygrave
a70461d779
Update InterceptReadWrite with file content diff detection
2022-05-03 10:46:22 +12:00
Rob Bygrave
d1b5400f2c
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-05-03 10:45:45 +12:00
Rob Bygrave
244f336f54
#2647 - When Postgres + isAllQuotedIdentifiers true + using DataSourceConfig THEN datasourceConfig.addProperty("quoteReturningIdentifiers", false);
...
I think there is not a case where we do NOT want to do this. allQuotedIdentifiers + Postgres is almost not usable without this.
2022-05-03 10:15:07 +12:00
Rob Bygrave
f92887b2f0
#2680 - Bump parent to java11-oss 3.8 which moves nexus-staging-maven-plugin and distributionManagement under "central" profile
...
This means that the nexus-staging-maven-plugin should not be used for forks looking to deploy into their own local nexus/archiva maven repo.
2022-05-03 09:06:27 +12:00
Rob Bygrave
f49b93a845
Bump to 13.6.0-SNAPSHOT
2022-05-03 08:55:50 +12:00
Rob Bygrave
a6f3a4f922
Bump to 13.6.0-SNAPSHOT
2022-05-03 08:37:29 +12:00
Rob Bygrave
d6a65e4e66
Bump to 13.6.0-SNAPSHOT
2022-05-02 22:31:32 +12:00
Rob Bygrave and GitHub
ea5b4e9271
Merge pull request #2662 from ebean-orm/feature/deprecated-remove-Ebean
...
Remove deprecated Ebean, EbeanServer, EbeanServerFactory, ServerConfig migrate to DB, Database, DatabaseFactory, DatabaseConfig
2022-05-02 22:27:57 +12:00
Rob Bygrave and GitHub
ffa50b3176
Merge pull request #2679 from ebean-orm/feature/2677
...
#2677 - Fix for trim failing on mutation of lastAccessTime
2022-05-02 22:25:13 +12:00
Rob Bygrave
2cf83278ea
#2677 - Change trimOnPut to be 10% of max or 1_000.
...
Can look to provide an explicit option via `@CacheBeanTuning` later.
2022-05-02 22:19:37 +12:00
Rob Bygrave
5c332286b6
#2677 - Add ReentrantLock for DefaultServerCache.runEviction() and trigger runEviction() via mutationCounter
...
If we get a lot of cache mutation (puts) between background trims then also trigger runEviction() in foreground using mutationCounter.
2022-05-02 21:48:58 +12:00
Rob Bygrave
1cd319c495
#2677 - Add try catch around DefaultServerCache.runEviction()
...
If there is an unexpected error we expect it to be temporary and want runEviction() to keep executing.
2022-05-02 20:51:33 +12:00
Rob Bygrave and GitHub
cec8a2e482
Merge pull request #2678 from focbenz/patch-1
...
Fixed typo Junit -> JUnit in README
2022-05-02 20:33:01 +12:00
Rob Bygrave
d036edf7fd
#2677 - Fix for trim failing on mutation of lastAccessTime
...
Currently, lastAccessTime can mutate during cache trim processing. This fixes this issue by taking a copy of the lastAccessTime storing as lastAccessSort and using that for sorting for cache trim.
2022-05-02 20:31:10 +12:00
Michael Benz and GitHub
2fefb5c7ef
Merge branch 'ebean-orm:master' into patch-1
2022-05-02 10:10:34 +02:00
Michael Benz and GitHub
4278aa46f5
Junit -> JUnit
...
Just one more change ... verified in Intellij:
Junit -> JUnit
2022-05-02 10:08:46 +02:00
Rob Bygrave and GitHub
7873a2b327
Merge pull request #2676 from focbenz/patch-1
...
Fix grammar in README.md
2022-05-02 20:08:04 +12:00
Rob Bygrave and GitHub
9d3a3ddfeb
Merge pull request #2675 from ebean-orm/feature/DefaultOrmQuery-final
...
Modify DefaultOrmQuery to have non-final copy() methods to allow ebean-mocker to be updated
2022-05-02 20:07:40 +12:00
Michael Benz and GitHub
ac0b9aa025
Fix grammar in README.md
...
Just some grammatical fixes and uppercasings in README. No code changes here!
2022-05-02 08:40:34 +02:00
Rob Bygrave
4d4f8e2c4b
Modify DefaultOrmQuery to have non-final copy() methods to allow ebean-mocker to be updated
2022-05-02 18:01:25 +12:00
Rob Bygrave
2b581fb148
Update README with details on building ebean from source
2022-05-02 16:36:59 +12:00
Rob Bygrave and GitHub
35bd98c14f
Merge pull request #2674 from ebean-orm/feature/ebean-test-container-5
...
Bump to ebean-test-docker 5.0-RC1
2022-05-02 16:36:02 +12:00
Rob Bygrave
8db9991ea3
Bump to ebean-test-docker 5.0
2022-05-02 16:04:42 +12:00
Rob Bygrave
fac69f75d0
Bump to ebean-test-docker 5.0-RC2
2022-05-02 15:40:01 +12:00
Rob Bygrave
b18226711b
Bump to ebean-test-docker 5.0-RC1
2022-04-29 16:43:48 +12:00
Rob Bygrave
4bdb48d340
Bump to 13.5.1-SNAPSHOT after release
2022-04-28 17:58:58 +12:00
Rob Bygrave
d2a742fefb
[maven-release-plugin] prepare for next development iteration
2022-04-28 17:42:12 +12:00
Rob Bygrave
22de23ddf4
[maven-release-plugin] prepare release ebean-parent-13.5.0
2022-04-28 17:42:05 +12:00
Rob Bygrave
496d9674d2
#2672 - Bump ebean-agent to 13.5.0 for - ToStringBuilder enhancement does not use toString() of the abstract class
2022-04-28 10:50:34 +12:00
Rob Bygrave
4ece9fe6cc
Bump to 13.5.0-SNAPSHOT
2022-04-28 10:46:14 +12:00
Rob Bygrave
62f162e4fb
Bump to 13.5.0-SNAPSHOT
2022-04-28 10:44:56 +12:00
Rob Bygrave
38803aa7f8
Bump to 13.5.0-SNAPSHOT
2022-04-28 10:33:41 +12:00
Rob Bygrave
f9943f14b7
Adjust test ebean.properties
2022-04-28 10:32:27 +12:00
Rob Bygrave
1b24c888ee
Put back test jdbc driver for MariaDB ... need to look at changes in newer driver wrt forwardOnlyHintOnFindIterate
...
That is, forwardOnlyHintOnFindIterate is a hack to support poor MySql jdbc driver behavior but maybe we can remove this
hack in later versions of MariaDB at least
2022-04-27 23:13:28 +12:00
Rob Bygrave
45233e96ab
#2673 - Bug introduced in 13.3.1 via #2652 - incorrect binding of history query with SQL2011 standards based queries
2022-04-27 22:48:02 +12:00
Rob Bygrave
517556bfe3
For sql server tests add jdbc parameters ;integratedSecurity=false;trustServerCertificate=true
2022-04-27 20:02:02 +12:00
Rob Bygrave
07101d1528
#2671 - Bump ebean-test-docker to 4.7
2022-04-27 19:53:52 +12:00
Rob Bygrave
9fa1def22b
Bump test jdbc drivers
2022-04-27 18:43:27 +12:00
Rob Bygrave
dd9d49cfa2
#2671 - Bump ebean-test-docker to 4.7
2022-04-27 18:39:49 +12:00
Rob Bygrave
7680a75ca9
Bump test modules to 13.4.2-SNAPSHOT after release
2022-04-27 09:48:13 +12:00
Rob Bygrave
786286421d
[maven-release-plugin] prepare for next development iteration
2022-04-27 09:13:48 +12:00
Rob Bygrave
b517551352
[maven-release-plugin] prepare release ebean-parent-13.4.1
2022-04-27 09:13:41 +12:00
Rob Bygrave
507ba7da1c
Bump ebean-agent to 13.4.1
2022-04-27 09:09:48 +12:00
Rob Bygrave
835796f614
#2670 - Missing implementation of loadIgnore in ScalarTypePgisBase
2022-04-27 08:43:06 +12:00
Rob Bygrave
ab9a6fb69a
git push origin masterMerge branch 'FOCONIS-toString-with-map'
2022-04-27 08:35:38 +12:00
Jonas Pöhler and Noemi Szemenyei
4d7a3d135c
FIX: StackOverflowError when using recursive relation within Map
...
(cherry picked from commit d06bc13b4e1e421546f4997900d5fdc6aa980257)
2022-04-26 13:53:51 +02:00
Rob Bygrave
937b15c07a
Modify EA builds to use EA,GA rather than specific versions
2022-04-26 09:30:20 +12:00
Rob Bygrave
47cf81fef9
Bump test modules to 13.4.0-SNAPSHOT after release
2022-04-21 13:47:29 +12:00
Rob Bygrave
b21123343f
[maven-release-plugin] prepare for next development iteration
2022-04-21 13:30:00 +12:00
Rob Bygrave
303f63fe5e
[maven-release-plugin] prepare release ebean-parent-13.4.0
2022-04-21 13:29:54 +12:00
Rob Bygrave
59d12c908c
Bump ebean-agent to 13.4.0 (no effective change)
2022-04-21 10:38:39 +12:00
Rob Bygrave
e736263148
Bump to 13.4.0-SNAPSHOT
2022-04-21 10:36:08 +12:00
Rob Bygrave
72712c0e46
Bump to 13.4.0-SNAPSHOT
2022-04-21 10:29:58 +12:00
Rob Bygrave
5245ef597d
Bump to 13.4.0-SNAPSHOT
2022-04-21 10:28:01 +12:00
Rob Bygrave
9d2621d353
#2667 - Bump jedis dependency to 4.2.2 from 4.2.1
2022-04-21 10:20:51 +12:00
Rob Bygrave and GitHub
015ef0289f
Merge pull request #2666 from ebean-orm/feature/discriminatorString-compareTo
...
Fix: CompareTo when discriminatorString is null
2022-04-21 09:56:22 +12:00
Rob Bygrave
5b9ca2933f
Fix: CompareTo when discriminatorString is null
...
- Fix for regression introduced by #2646 in version 13.3.1
- Replaces PR #2664
2022-04-21 09:53:06 +12:00
Rob Bygrave and GitHub
4ba23ebc22
Merge pull request #2665 from ebean-orm/feature/NodeUsageCollector-Cleaner
...
NodeUsageCollector migrate from using finalize() to Cleaner
2022-04-21 09:05:30 +12:00
Rob Bygrave
cacbee5fd5
Refactor tidy NodeUsageCollector, remove unused loadProperty and unnecessary WeakReference for State.listener
2022-04-21 08:59:53 +12:00
Rob Bygrave
e1b9bf62a3
NodeUsageCollector migrate from using finalize() to Cleaner
2022-04-21 08:40:00 +12:00
Rob Bygrave
4d21fbfcf8
#2663 - No effective change - Tidy Query interface with default methods
2022-04-20 21:49:06 +12:00
Rob Bygrave
76b02ff56a
Tidy internals, use cls.getDeclaredConstructor().newInstance();
2022-04-20 21:42:09 +12:00
Rob Bygrave
356af08f68
Tidy internal MTable only for test only constructor (remove @Deprecated)
2022-04-20 21:22:23 +12:00
Rob Bygrave
846afba724
Remove incorrect @Deprecated from internal DefaultOrmQuery
2022-04-20 21:14:44 +12:00
Rob Bygrave
d34da06840
Remove deprecated Ebean, EbeanServer, EbeanServerFactory, ServerConfig migrate to DB, Database, DatabaseFactory, DatabaseConfig
2022-04-20 20:46:53 +12:00
Rob Bygrave
50e13c4c99
Tidy imports only on DeleteIdRequest
2022-04-20 18:50:47 +12:00
Rob Bygrave and GitHub
30ec3145ed
Merge pull request #2661 from ebean-orm/feature/deprecated-BackgroundExecutor
...
Remove deprecated methods from BackgroundExecutor, migrate executePeriodically() -> scheduleWithFixedDelay()
2022-04-20 18:35:37 +12:00
Rob Bygrave
e20a2269ae
Remove deprecated methods from BackgroundExecutor, migrate executePeriodically() -> scheduleWithFixedDelay()
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:34:33 +12:00
Rob Bygrave
d6ee67cf4e
Remove deprecated methods from BeanPersistRequest, BeanQueryRequest, BeanDeleteIdRequest
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:29:55 +12:00
Rob Bygrave and GitHub
3bcb891133
Merge pull request #2660 from ebean-orm/feature/deprecated-event-requests
...
Remove deprecated methods from BeanPersistRequest, BeanQueryRequest, BeanDeleteIdRequest
2022-04-20 18:27:17 +12:00
Rob Bygrave
a270caf605
Remove deprecated methods from BeanPersistRequest, BeanQueryRequest, BeanDeleteIdRequest
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:26:34 +12:00
Rob Bygrave and GitHub
aaade167e1
Merge pull request #2659 from ebean-orm/feature/deprecated-Transaction
...
Remove deprecated methods from Transaction, migrate setBatchGetGeneratedKeys() -> setGetGeneratedKeys() etc
2022-04-20 18:16:56 +12:00
Rob Bygrave
ffb292dcd5
Remove deprecated methods from Transaction, migrate setBatchGetGeneratedKeys() -> setGetGeneratedKeys() etc
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:15:40 +12:00
Rob Bygrave and GitHub
2e799be9e3
Merge pull request #2658 from ebean-orm/feature/deprecated-SpiServer
...
Remove deprecated methods from SpiServer, migrate getServerConfig() -> config() etc
2022-04-20 18:09:00 +12:00
Rob Bygrave and GitHub
3863fa5fc6
Merge pull request #2657 from ebean-orm/feature/deprecated-FetchConfig
...
Remove deprecated methods from FetchConfig, migrate new FetchConfig().query(50) -> FetchConfig.ofQuery(50)
2022-04-20 18:08:38 +12:00
Rob Bygrave
2490562918
Remove deprecated methods from SpiServer, migrate getServerConfig() -> config() etc
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:07:16 +12:00
Rob Bygrave and GitHub
d6fe60bb33
Merge pull request #2656 from ebean-orm/feature/deprecated-pairs
...
Remove deprecated methods from Pairs, migrate setConcatSeparator() -> concatSeparator()
2022-04-20 18:03:22 +12:00
Rob Bygrave
a4fc61549f
Remove deprecated methods from FetchConfig, migrate new FetchConfig().query(50) -> FetchConfig.ofQuery(50)
2022-04-20 18:02:10 +12:00
Rob Bygrave
354b76e698
Remove deprecated methods from Pairs, migrate setConcatSeparator() -> concatSeparator()
2022-04-20 17:49:02 +12:00
Rob Bygrave
f01e60094f
#2655 - Remove JndiDataSourceLookup - app perform JNDI lookup if needed
2022-04-20 17:45:25 +12:00
Rob Bygrave
956ebf173e
Bump test modules to 13.3.2-SNAPSHOT after release
2022-04-20 12:34:23 +12:00
Rob Bygrave
c4eece36d3
[maven-release-plugin] prepare for next development iteration
2022-04-20 12:09:16 +12:00
Rob Bygrave
385867b9f5
[maven-release-plugin] prepare release ebean-parent-13.3.1
2022-04-20 12:09:09 +12:00
Rob Bygrave
4b30c51ff4
Bump ebean-agent
2022-04-20 12:05:14 +12:00
Rob Bygrave
0969e1427b
ebean-api module-info, requires static jackson databind (as optional)
2022-04-20 11:01:10 +12:00
Rob Bygrave
b2349bb044
Fix test InitDataSourceTest to use public API
2022-04-20 10:50:39 +12:00
Rob Bygrave
c766756efe
Improve test TestHistoryOneToOne
2022-04-20 10:02:11 +12:00
Rob Bygrave and GitHub
0e6c6965f0
Merge pull request #2654 from FOCONIS/file-dirty-detection
...
Fix: Setting file with same content should not make bean dirty
2022-04-19 22:30:15 +12:00
Rob Bygrave
7a17cd0797
Tidy DefaultDbSqlContext, remove excess space from sql left join, tidy whitespace
2022-04-19 15:44:08 +12:00
Rob Bygrave
56acac9f08
git push origin masterMerge branch 'tobias--failing_parameter'
2022-04-19 15:03:11 +12:00
Rob Bygrave
756e3e4a1c
#2651 - @OneToOne with @History, add fix and update tests
...
Effectively Ebean internally needs to keep a count on the number of times AS OF predicates are added (to joins + top level table). This change moves keeping that count for all joins to DbSqlContext.
2022-04-19 15:02:50 +12:00
Roland Praml
669d004d1b
Fix: Setting file with same content should not make bean dirty
...
(cherry picked from commit 62c4acd36a )
2022-04-14 15:12:45 +02:00
Tobias
67fc7cdb48
Test case for lazy @OneToOne beans with @History
...
Ebean produces an invalid query when trying to lazy load @OneToOne
from a historical bean. This test asserts working behaviour.
2022-04-14 10:17:45 +02:00
Rob Bygrave
8432fa1320
Bump ebean-ddl-runner (sync version with ebean-migration)
2022-04-14 14:48:37 +12:00
Rob Bygrave
6b81dbbaa2
Bump avaje classpath scanner to 7.1, ignores module-info, uses System.Logger (not slf4j-api)
2022-04-14 12:40:49 +12:00
Rob Bygrave and GitHub
9862526352
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-04-13 10:43:13 +12:00
Rob Bygrave
0e548ec1c5
Tidy test module poms
2022-04-13 10:40:55 +12:00
Rob Bygrave and GitHub
493e2d7463
Merge pull request #2646 from FOCONIS/sort-inherit
...
Produce deterministic DDL if @Inheritance is used
2022-04-13 10:29:57 +12:00
Rob Bygrave and GitHub
ea30c1d43b
Merge pull request #2645 from FOCONIS/sort-beancache
...
NPE executing query with beanCache and order by & clear
2022-04-13 10:23:28 +12:00
Roland Praml
8c800e992d
Fix beanCache order by & clear did not work
...
(cherry picked from commit 4dee827fda )
2022-04-12 13:51:49 +02:00
Rob Bygrave
d348794d92
Bump test modules to 13.3.1-SNAPSHOT after release
2022-04-12 21:47:00 +12:00
Rob Bygrave
526e476ba1
[maven-release-plugin] prepare for next development iteration
2022-04-12 21:23:12 +12:00
Rob Bygrave
bdc936b63b
[maven-release-plugin] prepare release ebean-parent-13.3.0
2022-04-12 21:23:05 +12:00
Rob Bygrave and GitHub
45003b3d5f
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-04-12 21:09:58 +12:00
Roland Praml
3179aa23ea
Sort DeployInheritInfo, so that DDL is deterministic
...
(cherry picked from commit 6412e060e6 )
2022-04-12 09:43:16 +02:00
Rob Bygrave and GitHub
2aba1835f1
ebean-test - Fix AutoConfigureForTesting to skip configuration for non-default DatabaseConfig ( #2644 )
...
#2644 - ebean-test - Fix AutoConfigureForTesting to skip configuration for non-default DatabaseConfig
2022-04-12 17:36:25 +12:00
Rob Bygrave
4b8eadad1c
Bump to 13.3.0-SNAPSHOT
2022-04-11 14:00:45 +12:00
Rob Bygrave
0a43b64f71
#2641 - Add a simple integration test for toString() implementation
2022-04-11 13:52:30 +12:00
Rob Bygrave
21c2232d96
#2641 - Bump ebean-agent for toString() implementation
2022-04-11 13:42:56 +12:00
Rob Bygrave
119b2d4638
#2643 - Bump dependencies h2database -> 2.1.212 ebean-test-docker -> 4.6
2022-04-11 12:50:46 +12:00
Rob Bygrave and GitHub
5cc2685732
Merge pull request #2642 from ebean-orm/feature/2641-ToStringBuilder
...
#2641 - Provide a decent default toString() implementation for entity beans
2022-04-11 12:49:02 +12:00
Rob Bygrave
6d6e417c94
#2641 - toString() - add tests for max beans and max content
2022-04-11 12:27:09 +12:00
Rob Bygrave
be2466003d
#2641 - toString() - addCollection() firstElement change
2022-04-08 22:30:00 +12:00
Rob Bygrave
183b601be8
#2641 - toString() - Change BeanCollection toString() implementations, suppress unloaded BeanCollections
2022-04-08 18:53:57 +12:00
Rob Bygrave
5a7e8456e1
#2641 - Provide a decent default toString() implementation for entity beans
2022-04-08 17:35:27 +12:00
Rob Bygrave
6e3db70d20
#2640 - ebean-redis - bump jedis dependency to 4.2.1 from 4.2.0
2022-04-08 09:10:12 +12:00
Rob Bygrave
2be34a8eb8
Bump test modules to 13.2.1-SNAPSHOT after release
2022-04-07 18:46:44 +12:00
Rob Bygrave
1c749e55c6
Fix javadoc in DB
2022-04-07 18:45:19 +12:00
Rob Bygrave
73dd4a5648
[maven-release-plugin] prepare for next development iteration
2022-04-07 18:13:48 +12:00
Rob Bygrave
6802fe9e02
[maven-release-plugin] prepare release ebean-parent-13.2.0
2022-04-07 18:13:41 +12:00
Rob Bygrave
6e5e89f155
Bump ebean-agent to 13.2.0
2022-04-07 18:04:45 +12:00
Rob Bygrave
aa351e919d
Bump to 13.2.0-SNAPSHOT
2022-04-07 18:03:58 +12:00
Rob Bygrave and GitHub
857bde645a
Merge pull request #2639 from ebean-orm/feature/deprecated_ServerCache
...
Remove deprecated methods on ServerCache getHitRatio() -> hitRatio(), getStatistics() -> statistics()
2022-04-07 17:04:31 +12:00
Rob Bygrave
ff257a272b
Remove deprecated methods on ServerCache getHitRatio() -> hitRatio(), getStatistics() -> statistics()
2022-04-07 17:03:04 +12:00
Rob Bygrave
e22e5885e2
Bump parent pom to 3.7 (surefire bump)
2022-04-07 16:48:23 +12:00
Rob Bygrave
71892fd2b5
Organise imports only
2022-04-07 16:44:02 +12:00
Rob Bygrave and GitHub
e41f9a0669
Merge pull request #2638 from ebean-orm/feature/TenantAwareCache
...
Refactor L2 cache tenant awareness - add TenantAwareCache
2022-04-07 16:43:05 +12:00
Rob Bygrave
f5a779e18b
Refactor L2 cache tenant awareness - add TenantAwareCache
...
The design change is to use TenantAwareCache to deal with wrap/unwrap of tenant aware keys, removing any tenant awareness from the underlying cache implementations (DefaultServerCache, redis, hazelcast etc).
2022-04-07 15:26:21 +12:00
Rob Bygrave
daf5220766
#2635 Remove deprecated methods from Database - createSqlQuery() -> sqlQuery(), createSqlUpdate() -> sqlUpdate()
2022-04-06 22:36:31 +12:00
Rob Bygrave and GitHub
4b5379c80c
Merge pull request #2635 from ebean-orm/feature/deprecated_Database
...
Remove deprecated methods in ebean-api - Database
2022-04-06 22:30:05 +12:00
Rob Bygrave and GitHub
51b4f58744
Merge pull request #2634 from ebean-orm/feature/deprecated_DB
...
Remove deprecated methods in ebean-api - DB
2022-04-06 22:29:27 +12:00
Rob Bygrave and GitHub
539dd7c90c
Merge pull request #2637 from ebean-orm/feature/2636_remove_CreatedTimestamp
...
#2636 - Remove deprecated @CreatedTimestamp and @UpdateTimestamp, migrate to @WhenCreated / @WhenModified
2022-04-06 22:25:21 +12:00
Rob Bygrave
c7ad5c5981
#2636 - Remove deprecated @CreatedTimestamp and @UpdateTimestamp, migrate to @WhenCreated / @WhenModified
2022-04-06 22:17:33 +12:00
Rob Bygrave
34ce77c17e
Bump to 13.1.1-SNAPSHOT after release
2022-04-06 22:10:01 +12:00
Rob Bygrave
bee476ecf6
[maven-release-plugin] prepare for next development iteration
2022-04-06 21:55:18 +12:00
Rob Bygrave
ddebb8a6b0
[maven-release-plugin] prepare release ebean-parent-13.1.0
2022-04-06 21:55:12 +12:00
Rob Bygrave
690c492ff3
Bump to 13.1.0-SNAPSHOT
2022-04-06 21:51:07 +12:00
Rob Bygrave
fe99212596
Bump to 13.1.0-SNAPSHOT
2022-04-06 21:47:19 +12:00
Rob Bygrave
8cbd98757e
#2627 - ebean-agent - bump to ASM 9.3, support Java 19 bytecode
2022-04-06 21:39:06 +12:00
Rob Bygrave and GitHub
10fa07f59f
Merge pull request #2633 from ebean-orm/feature/deprecated_BeanState
...
Remove deprecated methods in ebean-api - BeanState
2022-04-06 21:34:48 +12:00
Rob Bygrave and GitHub
ed339c3834
Merge pull request #2632 from ebean-orm/feature/deprecated_SqlUpdate
...
Remove deprecated methods in ebean-api - SqlUpdate
2022-04-06 21:34:12 +12:00
Rob Bygrave and GitHub
741873d077
Merge pull request #2631 from ebean-orm/feature/deprecated_SqlQuery
...
Remove deprecated methods in ebean-api - SqlQuery
2022-04-06 21:33:40 +12:00
Rob Bygrave and GitHub
d1e140144c
Merge pull request #2630 from ebean-orm/feature/deprecated-serverCacheManager
...
Remove deprecated methods in ebean-api - ServerCacheManager ServerCacheRegion
2022-04-06 21:32:57 +12:00
Rob Bygrave and GitHub
2689376847
Merge pull request #2629 from ebean-orm/feature/deprecated-remove_Meta_Metric_Plugin
...
Remove deprecated methods from ebean-api meta metric and plugin packages
2022-04-06 21:32:35 +12:00
Rob Bygrave and GitHub
cb47d88d32
Merge pull request #2628 from ebean-orm/feature/deprecated-findLargeStream
...
Remove deprecated findLargeStream(), migrate to findStream()
2022-04-06 21:32:06 +12:00
Rob Bygrave
370f50aebe
Remove deprecated methods in ebean-api - Database
2022-04-06 21:05:57 +12:00
Rob Bygrave
22db5abdbe
Remove deprecated methods in ebean-api - DB
2022-04-06 21:00:35 +12:00
Rob Bygrave
7f0dc07a6b
Remove deprecated methods in ebean-api - BeanState
2022-04-06 20:53:58 +12:00
Rob Bygrave
8636888d65
Remove deprecated methods in ebean-api - SqlUpdate
...
migrate from -> to
setParams() -> setParameters()
setNextParameter() -> setParameter()
2022-04-06 20:49:23 +12:00
Rob Bygrave
9bb307cce2
Remove deprecated methods in ebean-api - SqlQuery
2022-04-06 20:45:24 +12:00
Rob Bygrave
75dc74eb58
Remove deprecated methods in ebean-api - ServerCacheManager ServerCacheRegion
...
These methods are deprecated getters, migrate to the associated accessor method.
2022-04-06 20:32:50 +12:00
Rob Bygrave
07e62d9537
Remove deprecated methods in ebean-api - QueryPlanCapture. Migrate getFoo() -> foo()
...
These methods are deprecated getters, migrate to the associated accessor method.
2022-04-06 20:17:42 +12:00
Rob Bygrave
495af7ae4a
Remove deprecated methods in ebean-api - plugin BeanType. Migrate getFoo() -> foo()
...
These methods are deprecated getters, migrate to the associated accessor method.
2022-04-06 20:09:07 +12:00
Rob Bygrave
e7dd5570a5
Remove deprecated methods in ebean-api - meta, metric, plugin. Migrate getFoo() -> foo()
...
These methods are deprecated getters, migrate to the associated accessor method.
2022-04-06 18:32:52 +12:00
Rob Bygrave
48d7e79b16
Remove deprecated findLargeStream(), migrate to findStream()
...
findLargeStream() became no longer become needed due to improvements in the persistence context. Migrate to just use findStream() instead.
2022-04-06 18:17:25 +12:00
Rob Bygrave
a87897dd46
Update README add EA build badge for ebean-agent
2022-04-06 18:01:47 +12:00
Rob Bygrave
36c3319a24
Tidy API making some classes final
2022-04-06 17:24:11 +12:00
Rob Bygrave
c9a04e6983
#2627 - ebean-agent - bump to ASM 9.3, support Java 19 bytecode
2022-04-06 16:31:55 +12:00
Rob Bygrave
bed4721823
Bump ebean-agent to 13.0.1-RC2 with ASM 9.3 - support for Java 19
2022-04-06 16:28:44 +12:00
Rob Bygrave
307832edae
Fix test modules in terms of enhancement plugins
2022-04-04 14:04:15 +12:00
Rob Bygrave
1f684107b6
Fix test modules in terms of enhancement plugins
2022-04-04 13:52:37 +12:00
Rob Bygrave
5ab02715ef
Support EntityBeanIntercept as an interface with InterceptReadWrite and InterceptReadOnly options
...
With the view that we can optimise the readOnly + disableLazyLoad case by using InterceptReadOnly which doesn't need to support any of the flags used as part of mutation.
2022-04-04 13:30:26 +12:00
Rob Bygrave and GitHub
d55223f9f5
Merge pull request #2624 from ebean-orm/feature/2623-CurrentTenantProvider
...
#2623 - CurrentTenantProvider called even when table has no tenantId column specified
2022-04-01 08:58:59 +13:00
Rob Bygrave
c4a3f43e0d
#2623 - CurrentTenantProvider called even when table has no tenantId column specified
2022-03-31 16:54:45 +13:00
Rob Bygrave
585fb9d849
Bump to 13.0.1-SNAPSHOT in test modules after release
2022-03-31 15:29:01 +13:00
Rob Bygrave
9e54491071
Bump to 13.0.1-SNAPSHOT in test modules after release
2022-03-31 15:10:39 +13:00
Rob Bygrave
0b56aaf991
[maven-release-plugin] prepare for next development iteration
2022-03-31 14:17:10 +13:00
Rob Bygrave
75f0a6815f
[maven-release-plugin] prepare release ebean-parent-13.0.0
2022-03-31 14:17:03 +13:00
Rob Bygrave
a473c20b24
Bump to 13.0.0-SNAPSHOT
2022-03-31 14:07:32 +13:00
Rob Bygrave
540b414443
Bump to 13.0.0-SNAPSHOT
2022-03-31 14:07:00 +13:00
Rob Bygrave
7dca282eb6
Bump to 13.0.0-SNAPSHOT
2022-03-31 14:04:54 +13:00
Rob Bygrave and GitHub
de905ccd60
Merge pull request #2622 from ebean-orm/feature/java11-module-path
...
#2374 - Bump to Java 11 and module-path
2022-03-31 10:13:26 +13:00
Rob Bygrave
aa2490cfb4
EA build - remove valhalla due to javadoc error
...
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in https://ebean.io/platforms/ebean-platform-h2/apidocs/ are in named modules.
2022-03-31 09:57:55 +13:00
Rob Bygrave
587d673684
Adding requires com.fasterxml.jackson.annotation and ebean-test needs jupiter as provided scope
...
Interesting these changes are required for compilation against Java 11, not required for Java 17+.
2022-03-31 09:17:22 +13:00
Rob Bygrave
472db65ac6
Adding requires io.avaje.classpath.scanner;
2022-03-31 09:00:16 +13:00
Rob Bygrave
64e4e674ac
ebean-core - Adding requires static com.fasterxml.jackson.annotation;
2022-03-31 08:51:51 +13:00
Rob Bygrave
24d8f38b1d
#2374 - Bump to Java 11 and module-path
2022-03-31 08:42:14 +13:00
Rob Bygrave
79be375f54
Modify GH workflows to not build against Java 8, Java 11+ now
2022-03-30 19:04:49 +13:00
Rob Bygrave and GitHub
e95eae4ee6
Merge pull request #2621 from ebean-orm/feature/platform-modules-2
...
Refactor extract separate modules for each platform from ebean-api dbplatform
2022-03-30 19:01:22 +13:00
Rob Bygrave
e71e16c1ee
Refactor extract separate modules for each platform from ebean-api dbplatform
2022-03-30 17:11:36 +13:00
Rob Bygrave
514bba4130
bump versions in test modules after release
2022-03-29 23:04:31 +13:00
Rob Bygrave
d31aa2b24c
[maven-release-plugin] prepare for next development iteration
2022-03-29 22:49:50 +13:00
Rob Bygrave
d834817dc2
[maven-release-plugin] prepare release ebean-parent-12.16.1
2022-03-29 22:49:42 +13:00
Rob Bygrave
4cad515110
#2619 - Lack of setNullParameter() functionality on io.ebean.SqlQuery interface
2022-03-29 22:41:36 +13:00
Rob Bygrave
aa89df5f00
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-29 22:10:54 +13:00
Rob Bygrave
29f7375468
Bump ebean-agent to 12.16.1
2022-03-29 22:10:40 +13:00
Rob Bygrave and GitHub
3e4d7c9b5a
Merge pull request #2617 from FOCONIS/json-update-existing
...
ENH: JsonContext accepts a bean as target
2022-03-29 08:38:29 +13:00
Rob Bygrave and GitHub
fa34c39d92
Merge pull request #2615 from FOCONIS/tidy-code
...
Tidy, remove unused imports - Suggested changes (no code change)
2022-03-29 08:28:20 +13:00
Roland Praml
ffeb630e7e
JsonContext accepts a bean as target
2022-03-28 15:38:44 +02:00
Roland Praml
7666775d1a
Suggested changes (no code change)
2022-03-28 14:39:12 +02:00
Rob Bygrave
f95212eeb3
#2613 - Bump ebean-migration to 12.16.1
2022-03-28 14:36:10 +13:00
Rob Bygrave
5c3b680c8a
#2612 - Incorrect DDL generation for MySql on history tables that use quoted identifiers
2022-03-28 13:05:59 +13:00
Rob Bygrave
c8bb3c7b57
Fix test ebean-redis ClusterTest such that it allows for background thread sync to redis
2022-03-28 09:23:55 +13:00
Rob Bygrave
dcd3bfee4c
Fix test ConfigTest such that it doesn't set the RunOnceMarker
...
When tests are run using for example -Dprops.file=testconfig/ebean-postgres.properties ... then we want ebean-test AutoConfigureForTesting to run and setup the default datasource appropriately. If ConfigTest runs before that then it sets the RunOnceMarker and the default datasource isn't adjusted
2022-03-28 09:12:13 +13:00
Rob Bygrave
b85bb5f459
Refactor tests, move some unit tests to ebean-api
2022-03-27 20:31:17 +13:00
Rob Bygrave
426d314e63
Refactor tests, move internal type tests to ebean-core
2022-03-27 20:20:35 +13:00
Rob Bygrave
e3e5414157
Refactor tests, move some internal expression tests to ebean-core
2022-03-27 19:55:34 +13:00
Rob Bygrave
28088a5e54
Refactor tests, move some internal deploy tests to ebean-core
2022-03-27 17:44:43 +13:00
Rob Bygrave
2acdf2f4bf
Refactor tests, move some internal core tests to ebean-core
2022-03-27 17:06:52 +13:00
Rob Bygrave
785a027dd6
Refactor tests, move some cache tests to ebean-core
2022-03-27 16:49:28 +13:00
Rob Bygrave
88005dbe09
Refactor tests, move changelog tests
2022-03-25 18:44:24 +13:00
Rob Bygrave
88acd8190a
Refactor tests, move db migration tests
2022-03-25 18:23:23 +13:00
Rob Bygrave
72963bc9fb
Refactor tests, move DbPrimaryTest to ebean-api
2022-03-25 18:07:29 +13:00
Rob Bygrave and GitHub
6a552cd7d1
Merge pull request #2610 from FOCONIS/remove-unused-imports
...
No effective code change: Removed unused imports
2022-03-24 22:53:56 +13:00
Roland Praml
c40b9738d1
No effective code change: Removed unused imports
2022-03-24 09:23:39 +01:00
Rob Bygrave
84a64f9640
Refactor tests, move BaseTestCase and annotations @ForPlatform @IgnorePlatform
2022-03-24 18:52:37 +13:00
Rob Bygrave
e4c06432a0
Move some more unit tests from ebean-test back to ebean-core
2022-03-24 18:48:59 +13:00
Rob Bygrave
f58d6038c7
Move some unit tests from ebean-test back to ebean-core
2022-03-24 18:21:48 +13:00
Rob Bygrave
f270c52c00
Bump maven-compiler-plugin
2022-03-24 16:58:41 +13:00
Rob Bygrave
e6ea85a193
#2609 - Fix module-info export io.ebean.config.dbplatform.yugabyte
2022-03-24 16:51:18 +13:00
Rob Bygrave
17f408681c
No functional change - final methods on internal RsetDataReader
2022-03-24 12:01:22 +13:00
Rob Bygrave
fcf6f5f384
No effective change - typo in javadoc
2022-03-24 11:32:50 +13:00
Rob Bygrave
d98c49e266
Update test generated db2 index migration files
2022-03-23 22:31:32 +13:00
Rob Bygrave
79213e7194
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-23 22:29:16 +13:00
Rob Bygrave
bc1f7040da
Merge branch 'FOCONIS-tmp-tablespace'
2022-03-23 22:27:44 +13:00
Rob Bygrave
f157c2da7f
Merge branch 'tmp-tablespace' of https://github.com/FOCONIS/ebean into FOCONIS-tmp-tablespace
2022-03-23 22:27:17 +13:00
Rob Bygrave and GitHub
33b18fb837
Merge pull request #2607 from FOCONIS/some-todos
...
DDL: Support schema in history entities and ignore case in DB2 procedures
2022-03-23 16:46:31 +13:00
Rob Bygrave and GitHub
1f8a6b0668
Update README.md
2022-03-23 13:16:17 +13:00
Rob Bygrave and GitHub
85a971323a
Update early access build badges
2022-03-23 13:10:57 +13:00
Rob Bygrave
f1b626a182
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-23 13:00:44 +13:00
Rob Bygrave
cc043316ee
Update EA build name
2022-03-23 13:00:30 +13:00
Rob Bygrave and GitHub
c656436d09
Update README.md
2022-03-23 12:31:22 +13:00
Roland Praml
250e66819b
Reference scripts
2022-03-22 17:05:04 +01:00
Roland Praml
3e4cc3b3d6
Add tablespace support for DB2
2022-03-22 17:03:38 +01:00
Roland Praml
f1950d479e
Added testcase with upper and lower case characters
2022-03-22 10:43:34 +01:00
Roland Praml
00686fcccf
DB2: ignore case in "drop if exists" checks
2022-03-22 09:58:20 +01:00
Roland Praml
4fe8ef2b23
Support schema in history-entities
2022-03-22 09:42:19 +01:00
Rob Bygrave
baddc76961
Refactor tidy grammar in server/expression classes
2022-03-22 16:48:47 +13:00
Rob Bygrave
de4140aaac
#2600 - Pending drops migration with the same version of the target migration cause trouble
2022-03-22 16:20:06 +13:00
Rob Bygrave and GitHub
66aa772f4a
Merge pull request #2603 from FOCONIS/remove-lowertablename
...
Refactored DDL generation to correctly handle quoted identifiers
2022-03-22 09:02:42 +13:00
Rob Bygrave and GitHub
f745cfaab3
Merge pull request #2604 from FOCONIS/remove-lowertablename2
...
Remove LowerTableName
2022-03-22 08:38:14 +13:00
Roland Praml
8640b4a1a0
Fix: Check if pendingDrops are used correctly
2022-03-21 15:20:41 +01:00
Roland Praml
5e87706055
Fix: check newTable for history flag
2022-03-21 15:05:29 +01:00
Roland Praml
0d765d6583
Reference scripts
2022-03-21 15:02:06 +01:00
Roland Praml
2a924d8d32
Add more quotes, for history tables
2022-03-21 15:01:43 +01:00
Roland Praml
04d2a20945
Add testcase, that uses all kinds of reserved keywords
2022-03-21 13:48:48 +01:00
Roland Praml
4077d906d1
ADD: Support for quoted identifiers
2022-03-21 13:34:29 +01:00
Roland Praml
7e3fbbba62
Refactor: use normalized table names for history
2022-03-21 11:52:00 +01:00
Roland Praml
3db9a17c6a
Refactored DbTriggerBasedHistory: always use historyTableName
2022-03-21 11:15:13 +01:00
Roland Praml
327babbfa2
Reference scripts
2022-03-21 11:08:54 +01:00
Roland Praml
0a1acb3f9b
Fix: DB2-History table must be an exact copy
2022-03-21 11:08:41 +01:00
Roland Praml
a2e27b9e00
fixed test case
2022-03-21 11:02:14 +01:00
Roland Praml
a8ad93823a
Removed 'lowerTableName' and 'lowerColumnName'
2022-03-18 08:56:43 +01:00
Rob Bygrave
5eb790e54d
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-18 11:08:29 +13:00
Rob Bygrave
c44ae96e09
Add badge to README for JDK EA
2022-03-18 11:08:11 +13:00
Rob Bygrave and GitHub
d540bf4d16
Merge pull request #2601 from FOCONIS/ddl-refactor9
...
Extended @Column support for DB2
2022-03-18 09:25:56 +13:00
Roland Praml
ab6f5daec3
FIX LargeValueInsert-Test for DB2
2022-03-17 13:26:54 +01:00
Roland Praml
d7a7ef097b
Reference scripts
2022-03-17 13:14:11 +01:00
Roland Praml
8f746196ab
Support for extra colum options for DB2
2022-03-17 13:11:48 +01:00
Roland Praml
eb1ed0bdd0
DbColumDefault must be returned although if individual columnDefinition is specified (cases no DDL change)
...
We support optional platform columnDefinitions now. E.g. "db2;clob(64M);" - so we must not ignore @DbDefault for all other platforms
2022-03-17 13:07:52 +01:00
Roland Praml
37ab71cb7c
Reference scripts
2022-03-17 13:03:55 +01:00
Roland Praml
74720a840d
DbMigration: Do only real type changes
2022-03-17 13:01:25 +01:00
Rob Bygrave
923f83cafb
Bump after release to 12.16.1-SNAPSHOT
2022-03-17 21:37:56 +13:00
Rob Bygrave
2faaf5f186
[maven-release-plugin] prepare for next development iteration
2022-03-16 22:49:23 +13:00
Rob Bygrave
ef8d9c7eb0
[maven-release-plugin] prepare release ebean-parent-12.16.0
2022-03-16 22:49:16 +13:00
Rob Bygrave
a464c763d0
Bump parent pom
2022-03-16 22:45:57 +13:00
Rob Bygrave
d4d1e571d3
Fix test assert for multi-database
2022-03-16 22:37:54 +13:00
Rob Bygrave
92e85e32a2
#2598 - H2 + @Lob String fails with - Error[Value too long for column "CHARACTER VARYING": "... (1048577)" [22001-210]]
2022-03-16 22:13:52 +13:00
Rob Bygrave
ff1b01e5ca
Bump agent to 12.16.0 + test and provided dependencies
2022-03-16 22:13:07 +13:00
Rob Bygrave
327f25c568
No functional change - refactor tidy dealing with some internal warnings
...
protected not needed on final classes
2022-03-16 18:51:12 +13:00
Rob Bygrave and GitHub
00a1324c52
Merge pull request #2596 from FOCONIS/ddl-refactor8
...
DDl-Refactor: Add DB2 Reorg support and history support
2022-03-16 18:47:58 +13:00
Rob Bygrave
75b9df942c
No effective change - tidy TestWithCacheAndLazyLoad
2022-03-16 18:38:47 +13:00
Rob Bygrave
946b390037
Merge branch 'FOCONIS-lazyload-npe'
2022-03-16 18:37:48 +13:00
Rob Bygrave
3a1e1e23f5
Merge branch 'lazyload-npe' of https://github.com/FOCONIS/ebean into FOCONIS-lazyload-npe
2022-03-16 18:14:22 +13:00
Rob Bygrave
d9ea465102
Support running tests against java 19
2022-03-16 18:02:07 +13:00
Rob Bygrave
3bc7f061eb
Bump test dependencies for junit, assertj, mockito
2022-03-16 17:55:37 +13:00
Rob Bygrave
0bc07d38b2
Add Oracle GH workflow for JDK EA 18,19,loom,valhalla,metropolis,panama
2022-03-16 12:13:29 +13:00
Roland Praml
79f6d6d0f0
Ignored query plans for DB2
2022-03-15 17:18:34 +01:00
Roland Praml
782e41098d
enabled history tests
2022-03-15 16:56:00 +01:00
Roland Praml
0225fddf6d
FIX: AlterColumnTest
2022-03-15 16:31:43 +01:00
Roland Praml
be3e08018e
Reference Scripts
2022-03-15 15:59:50 +01:00
Roland Praml
c9204eed3f
DB2: HistorySupport added
2022-03-15 15:59:33 +01:00
Noemi Szemenyei
edb6a0ebe2
performance boost list --> set
...
(cherry picked from commit 2478aded70 )
2022-03-15 13:21:10 +01:00
Noemi Szemenyei
826b507b77
Suggested fix
...
(cherry picked from commit 52ca271a13 )
2022-03-15 13:21:02 +01:00
Noemi Szemenyei
8ad8f47c6b
Created failing test case
...
(cherry picked from commit 2b21588c90 )
2022-03-15 13:20:16 +01:00
Rob Bygrave and GitHub
5944777a13
Merge pull request #2594 from FOCONIS/ddl-refactor7
...
[DDL-Refactor] History table generation
2022-03-15 09:23:30 +13:00
Roland Praml
05a1b0d64e
DB2: Migration is working now
2022-03-14 16:31:34 +01:00
Roland Praml
4d62958645
Updated DDL scripts to support notnull -> null transitions
2022-03-14 14:13:56 +01:00
Roland Praml
610a8b2df6
FIX: notNull -> null transition must be applied also to history
2022-03-14 14:13:10 +01:00
Roland Praml
5b8bb41598
Postgres: Drops history support during alter and restores it after that
2022-03-14 14:08:42 +01:00
Roland Praml
9e16d955ae
Sqlserver: no effective code change
2022-03-14 14:06:25 +01:00
Roland Praml
197bb0509a
Nuodb: no effective ddl change
2022-03-14 14:05:42 +01:00
Roland Praml
5536aeb829
Mysql: locks only one table at once
2022-03-14 14:04:59 +01:00
Roland Praml
d629fb2dbd
MariaDB uses '@@system_versioning_alter_history = 1' now. Removed obsolete "lock tables" statements
2022-03-14 14:01:21 +01:00
Roland Praml
10c01574d2
H2: No effective change Statements reordered
2022-03-14 13:12:24 +01:00
Roland Praml
cfad20c8e1
Refactored Hisotry generation
2022-03-14 13:11:00 +01:00
Rob Bygrave
0ea375b4fc
Merge branch 'FOCONIS-ddl-clickhouse'
2022-03-14 16:54:07 +13:00
Rob Bygrave
71fce1b4c5
#2575 Tidy up for [DDL-ClickHouse] fixes for ClickHouse platform
2022-03-14 16:53:51 +13:00
Rob Bygrave
db60065389
Merge branch 'ddl-clickhouse' of https://github.com/FOCONIS/ebean into FOCONIS-ddl-clickhouse
2022-03-14 16:51:27 +13:00
Rob Bygrave
d3a765a532
Tidy whitespace only, no effective change
2022-03-14 16:19:02 +13:00
Rob Bygrave
fd4be0ca59
#2593 - Tidy SqlTreeBuilder to not add duplicate BeanProperties
2022-03-14 16:16:14 +13:00
Rob Bygrave
267a81b792
#25890 - Tidy only, no effective change for BackgroundExecutorWrapper
2022-03-14 15:46:21 +13:00
Rob Bygrave
1615beadd1
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-14 15:37:52 +13:00
Rob Bygrave
a3e5c3de72
Merge branch 'FOCONIS-Bug-wrong-join-inheritance-dbforeignkey'
2022-03-14 15:37:38 +13:00
Rob Bygrave
267b1b7303
#2580 - Fix for Wrong join in query with @Inheritance
...
Effectively delays an extra join added via BeanPropertyAssocOne with inheritance, such that this only occurs if a SqlTreeNode child doesn't add the join.
2022-03-14 15:37:12 +13:00
Rob Bygrave
c902caed24
Fix is to delay the extra join added via BeanPropertyAssocOne until after the children nodes have joined.
...
In this way the join is ONLY added if not already done so via a child node (SqlTreeNode).
2022-03-14 15:32:42 +13:00
Rob Bygrave and GitHub
662666e1a4
Merge pull request #2590 from FOCONIS/background-executor-wrapper
...
Provide custom BackgroundExecutorWrapper to pass thread locals
2022-03-14 10:40:37 +13:00
Rob Bygrave and GitHub
394f245e33
Merge pull request #2591 from FOCONIS/ddl-refactor6
...
[DDL-refactor] Sorted the statements, so that they are going to the correct buffers
2022-03-14 09:17:17 +13:00
Roland Praml
89da952b15
updated scripts
2022-03-11 15:35:15 +01:00
Roland Praml
d927b8c2c2
[DDL-refactor] Sorted the statements, so that they are going to the correct buffers
2022-03-11 15:34:37 +01:00
Noemi Szemenyei
6867c4568c
fix db.shutdown()
...
(cherry picked from commit 33d17d0f49 )
2022-03-11 13:32:08 +01:00
Noemi Szemenyei
e0e572a8b4
update
...
(cherry picked from commit dab8ed8a3b )
2022-03-11 13:31:58 +01:00
Noemi Szemenyei
3c7555de36
Provide custom BackgroundExecutorWrapper to pass thread locals
...
(cherry picked from commit 336accf447 )
2022-03-11 13:31:50 +01:00
Rob Bygrave and GitHub
75662aac5c
Merge pull request #2589 from FOCONIS/ddl-refactor5
...
No effective DDL change - refactor whitespace and add buffer comments
2022-03-11 10:38:14 +13:00
Roland Praml
e4ddcbd40a
Reference scripts
2022-03-10 13:39:59 +01:00
Roland Praml
a8f390c3b7
No effective DDL change - removed obsolete whitespaces
2022-03-10 13:31:12 +01:00
Roland Praml
f1b196cf2e
FIX: tests and pushed reference ddl scripts
2022-03-10 13:24:39 +01:00
Roland Praml
04675ea76b
No effective DDL change, just added buffer comments in DDL
2022-03-10 13:24:01 +01:00
Rob Bygrave
8e44ad71e8
Merge branch 'Bug-wrong-join-inheritance-dbforeignkey' of https://github.com/FOCONIS/ebean into FOCONIS-Bug-wrong-join-inheritance-dbforeignkey
2022-03-10 16:24:14 +13:00
Rob Bygrave
febd56c9c0
#2581 - SoftDelete on @OneToMany is ignored after refresh() (since 12.11.5)
2022-03-10 16:19:11 +13:00
Rob Bygrave
0d3649853a
Bump provided optional Jackson dependency to 2.13.2
2022-03-10 15:33:33 +13:00
Rob Bygrave
beed67567a
#2588 - [postgis-jdbc] Bump postgis-jdbc dependency from 2.2.1 to 2.5.1
2022-03-10 15:33:00 +13:00
Rob Bygrave and GitHub
0fe0803374
Merge pull request #2587 from FOCONIS/ddl-refactor4
...
[Ddl refactor] Alter Table changes are grouped by table name.
2022-03-10 13:00:44 +13:00
Roland Praml
5fd7aca3d9
Fixed test cases
2022-03-09 16:17:04 +01:00
Rob Bygrave and GitHub
348fecddf7
Merge pull request #2586 from FOCONIS/ddl-refactor3
...
[Clickhouse] Refactored columnNotNull
2022-03-09 22:10:59 +13:00
Rob Bygrave and GitHub
b333449d84
Merge pull request #2584 from FOCONIS/hazelcast-unmodifiable-map
...
Small code change for Hazelcast 4.1.5
2022-03-09 16:10:39 +13:00
Rob Bygrave and GitHub
87a97c2889
Merge pull request #2585 from FOCONIS/ddl-refactor2
...
Fix DDL Default handling & Prepared PlatformDdl to to have only one 'alterColumn' method
2022-03-09 16:07:30 +13:00
Roland Praml
790147e42d
Reviewed DDL changes - all changes are plausible
2022-03-08 17:28:39 +01:00
Roland Praml
3a93abaa7f
Only moves in DDL (checked with git -c color.diff.newMoved=black -c color.diff.oldMoved=black diff --color-moved=plain '*.sql')
2022-03-08 12:43:54 +01:00
Roland Praml
1049d951d9
Code changes to group alterTables by tableName
2022-03-08 12:39:44 +01:00
Roland Praml
c3bdac5271
[Clickhouse] Refactored columnNotNull
2022-03-07 16:41:27 +01:00
Roland Praml
9bcba0b80d
Sql-scripts
2022-03-07 15:40:45 +01:00
Roland Praml
1529a2f12b
Prepared PlatformDdl to to have only one 'alterColumn' method (required for further refactoring)
2022-03-07 15:35:36 +01:00
Noemi Szemenyei
b41b6da40e
iterator.remove() is not needed
2022-03-04 08:20:44 +01:00
Rob Bygrave and GitHub
4285cbaeb2
Merge pull request #2583 from ebean-orm/feature/2582-bg-executor
...
#2582 - Fix for regression, BackgroundExecutor is bounded (since 12.6.2)
2022-03-04 11:15:23 +13:00
Rob Bygrave and GitHub
26fd7c5498
Merge pull request #2578 from ebean-orm/feature/bump-ddl-runner
...
Bump to ebean-ddl-runner 1.3
2022-03-04 11:14:35 +13:00
Rob Bygrave and GitHub
6ec4e4b965
Merge branch 'master' into feature/bump-ddl-runner
2022-03-04 10:26:17 +13:00
Rob Bygrave
e3a20a351d
#2582 - Fix for regression, BackgroundExecutor is bounded (since 12.6.2)
...
The change for #2121 brought in a regression where the scheduledExecutorService was used for processing ALL submitted tasks (not just scheduled ones) and is a bounded executor service. Previously non-scheduled tasks went to a "newCachedThreadPool" based executor service and with this change we are moving back to that (via restoring and using the DaemonExecutorService for those tasks).
2022-03-04 10:21:56 +13:00
Alexander Wagner
9b8f7be98f
Bug: Wrong join in query with @Inheritance and @DbForeignKey
...
(cherry picked from commit 4bcadbb4da3f0defbcc58802e621442d948df38a)
2022-03-02 11:50:57 +01:00
Rob Bygrave
61f5442e3b
#2579 - Bump to ebean-migration 12.16.0, support both basePlatform and platform for finding/running migrations
...
Fix ebean-migration-auto.version to 1.2
2022-03-02 12:30:32 +13:00
Rob Bygrave
c5acd31da4
#2579 - Bump to ebean-migration 12.16.0, support both basePlatform and platform for finding/running migrations
2022-03-02 12:25:57 +13:00
Rob Bygrave
49fde7654e
Bump to 12.16.0-SNAPSHOT
2022-03-02 12:17:38 +13:00
Rob Bygrave
05338531ed
Bump versions after release
2022-03-01 23:01:09 +13:00
Rob Bygrave
eb4d906814
[maven-release-plugin] prepare for next development iteration
2022-03-01 22:47:01 +13:00
Rob Bygrave
2a96a59deb
[maven-release-plugin] prepare release ebean-parent-12.15.1
2022-03-01 22:46:55 +13:00
Rob Bygrave
f571da5154
Bump to ebean-ddl-runner 1.3
2022-03-01 22:35:40 +13:00
Rob Bygrave
ffad9abeef
#2577 - Refactor internals remove no longer needed DdlAutoCommit platform option
2022-03-01 22:32:09 +13:00
Rob Bygrave
e8df81d78a
DbMigrationTest ignore Yugabyte at this stage
2022-03-01 21:29:17 +13:00
Rob Bygrave
ed19a96801
Tidy DbMigrationTest after fix for #2576
2022-03-01 21:01:48 +13:00
Rob Bygrave
6d27e30b88
[H2] Use LocalDateTime in H2HistoryTrigger with microsecond precision - fix DbMigrationTest
2022-03-01 20:52:39 +13:00
Rob Bygrave
52aa1a2d91
For Multi-jdk build failure - tweak DbMigrationTest, add another hack 1 milli sleep
2022-03-01 20:30:49 +13:00
Rob Bygrave
ddbd816f6d
For Multi-jdk build failure - tweak DbMigrationTest, add hack comment
2022-03-01 16:23:58 +13:00
Rob Bygrave
00940c2b31
For Multi-jdk build failure - tweak DbMigrationTest
2022-03-01 12:10:28 +13:00
Rob Bygrave
708ec64893
For Multi-jdk build failure - check if H2HistoryTrigger should bump 1ms if needed
2022-03-01 11:59:37 +13:00
Rob Bygrave
d0dd2d8203
Add a more useful implementation for Version.toString()
2022-03-01 11:34:07 +13:00
Rob Bygrave
faa921ac27
Update DbMigrationTest to include platform for some asserts
2022-03-01 11:22:40 +13:00
Rob Bygrave
f2a99c7b01
Update DbMigrationTest to include platform for some asserts
2022-03-01 11:03:37 +13:00
Rob Bygrave and GitHub
b6ea9df444
Merge pull request #2574 from FOCONIS/ddl-cockroach
...
[DDL-Cockroach] Fixes for Cockroach platform
2022-02-28 11:25:21 +13:00
Rob Bygrave and GitHub
e6cde5862d
Merge pull request #2573 from FOCONIS/ddl-hana
...
[DDL-hana] HANA always requires stored procedures
2022-02-28 11:24:05 +13:00
Rob Bygrave and GitHub
dec927bf9a
Merge pull request #2571 from FOCONIS/ddl-sqlite
...
[DDL-SqLite] Modified SqLite platform to generate at least non failing migration scripts
2022-02-28 11:20:20 +13:00
Rob Bygrave and GitHub
ae41471c74
Merge pull request #2570 from FOCONIS/ddl-oracle-fixes
...
[DDL-Oracle] Fix drop default and ignore erros when trying to drop non existent objects
2022-02-28 11:19:43 +13:00
Rob Bygrave and GitHub
843d9d2700
Merge pull request #2569 from FOCONIS/ddl-extend-test
...
[DDL-common] Extended DbMigrationTest to run on all platforms
2022-02-28 11:16:59 +13:00
Roland Praml
475fd38be5
FIX: PlatformDdl-tests
2022-02-25 15:44:54 +01:00
Roland Praml
b88e4a35f8
Ddl fixes for clickhouse platform
2022-02-25 12:10:54 +01:00
Roland Praml
c82f3783f0
Fixes for Cockroach platform
2022-02-25 12:10:06 +01:00
Roland Praml
bf99f9d08d
Fix: HANA always requires stored procedures (similar to SqlServer), Fix: default value on intermediate alters
2022-02-25 12:09:09 +01:00
Roland Praml
f30c3869b6
Modified SqLite platform to generate at least non failing migration scripts.
...
Note: If you want to alter a table in SqLite, the best option is to recreate the table with the new layout
2022-02-25 12:07:06 +01:00
Roland Praml
3b32e4c018
Oracle: Fix DB name to match with docker container
2022-02-25 12:06:09 +01:00
Roland Praml
e0669e9a9f
DDL generation fixes fpr oracle platform (fix drop default, do "drop if exists" with error handlers)
2022-02-25 12:05:53 +01:00
Roland Praml
95b1488aed
Extended DbMigrationTest to run on all platforms
2022-02-25 12:04:24 +01:00
Rob Bygrave and GitHub
897a97d415
Merge pull request #2568 from FOCONIS/Tidy-up-code
...
Removed unused imports and add missing Override statements (no effective code change)
2022-02-25 14:29:30 +13:00
Rob Bygrave and GitHub
1d71f617c2
Merge pull request #2567 from FOCONIS/tidy-up-ddl-generation
...
Tidy up ddl generation (no effective code change)
2022-02-25 14:28:20 +13:00
Roland Praml
1ca5789112
Removed unused imports and add missing Override statements (no effective code change)
2022-02-24 08:03:26 +01:00
Roland Praml
70ec8a3891
Removed unused code
2022-02-23 11:17:16 +01:00
Roland Praml
2dfa9d2e77
No effective code change: Normalized "DdlWrite write" to "DdlWrite writer"
2022-02-23 11:14:22 +01:00
Rob Bygrave
29a5a13dd9
Merge branch 'master' of github.com:ebean-orm/ebean
2022-02-22 14:52:14 +13:00
Rob Bygrave
7a3494ebd9
Update to the newer Apache2 licence text (from older Apache2 license text)
2022-02-22 14:51:54 +13:00
Rob Bygrave and GitHub
915bf29eaf
Merge pull request #2557 from FOCONIS/add-reorg-support
...
Refactored DDL generation
2022-02-22 13:19:51 +13:00
Rob Bygrave
dad4837b50
No change - format code only
2022-02-22 13:15:28 +13:00
Rob Bygrave and GitHub
8fa8c687e9
Merge pull request #2563 from FOCONIS/platform-specific-columndefinition
...
Different ColumnDefinition for different platforms
2022-02-22 13:13:43 +13:00
Rob Bygrave
aff54f5cf7
Merge branch 'FOCONIS-bug-save-one-to-one-version-cascade'
2022-02-22 13:08:05 +13:00
Rob Bygrave
fa0336a404
Merge branch 'bug-save-one-to-one-version-cascade' of https://github.com/FOCONIS/ebean into FOCONIS-bug-save-one-to-one-version-cascade
2022-02-22 13:00:41 +13:00
Noemi Szemenyei
7ccea9ff7e
migrations
2022-02-18 10:03:04 +01:00
Noemi Szemenyei
c2e4f862bc
default columnDef should be calculated from ebean
2022-02-18 10:02:48 +01:00
Roland Praml
36bda117a6
No effective code change: Tidy up (organize imports/fix java warnings)
2022-02-17 14:47:05 +01:00
Roland Praml
08838770e9
No effective code change: Removed obsolete IOExceptions
2022-02-17 14:45:02 +01:00
Noemi Szemenyei
137a7950ff
new migrations
2022-02-17 09:53:26 +01:00
Noemi Szemenyei
e3980a14a2
review changes
2022-02-17 09:52:23 +01:00
Rob Bygrave and GitHub
ca9f48d019
Merge pull request #2562 from ebean-orm/dependabot/maven/ebean-test/org.postgresql-postgresql-42.3.3
...
Bump postgresql from 42.3.2 to 42.3.3 in /ebean-test
2022-02-17 21:44:01 +13:00
Rob Bygrave and GitHub
e83e6b0f8f
Merge pull request #2561 from ebean-orm/dependabot/maven/ebean-core/org.postgresql-postgresql-42.3.3
...
Bump postgresql from 42.3.2 to 42.3.3 in /ebean-core
2022-02-17 21:43:49 +13:00
Rob Bygrave and GitHub
7d18329c18
Merge pull request #2560 from ebean-orm/dependabot/maven/ebean-postgis/org.postgresql-postgresql-42.3.3
...
Bump postgresql from 42.3.2 to 42.3.3 in /ebean-postgis
2022-02-17 21:43:37 +13:00
Noemi Szemenyei
c6fa60f28c
migrations
2022-02-17 08:16:35 +01:00
Noemi Szemenyei
3ab7ebe5e6
new property for test
2022-02-17 08:14:51 +01:00
Noemi Szemenyei
48e875714b
solution v1
...
(cherry picked from commit 3d83c6bd0e2bcca6fc04f73ce08983266b9df636)
2022-02-17 08:13:39 +01:00
dependabot[bot] and GitHub
5ba93ed927
Bump postgresql from 42.3.2 to 42.3.3 in /ebean-test
...
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc ) from 42.3.2 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases )
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.2...REL42.3.3 )
---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-16 01:19:58 +00:00
dependabot[bot] and GitHub
9974102f1a
Bump postgresql from 42.3.2 to 42.3.3 in /ebean-core
...
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc ) from 42.3.2 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases )
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.2...REL42.3.3 )
---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-16 01:19:22 +00:00
dependabot[bot] and GitHub
ba27e09179
Bump postgresql from 42.3.2 to 42.3.3 in /ebean-postgis
...
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc ) from 42.3.2 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases )
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.2...REL42.3.3 )
---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-16 01:18:59 +00:00
Alexander Wagner
90066eee0c
Possible fix
2022-02-11 10:31:24 +01:00
Roland Praml
53c8827a52
Refactor: remove MConfiguration from BaseDdlBuffer (it is unused, and may/should be re-added to the DdlWrite when needed)
2022-02-08 16:21:25 +01:00
Alexander Wagner
3bb6f0ca65
Bug: save with cascade of @OneToOne + @Version model sets version to 1
...
(cherry picked from commit 1570e1800d )
2022-02-08 16:08:13 +01:00
Roland Praml
6e5eb6b963
Refactor: BaseDdlBuffer uses StringBuilder instead of StringWriter. Makes IOException obsolete.
2022-02-08 16:04:14 +01:00
Rob Bygrave and GitHub
7bea0d0eb2
Merge pull request #2551 from FOCONIS/move-testcase
...
Move DbMigration-Tests to ebean-test
2022-02-08 10:23:40 +13:00
Rob Bygrave and GitHub
5a07a54544
Merge pull request #2555 from FOCONIS/clickhouse-dbarray-type-missing
...
ClickHouseDb - decimal[] array type missing
2022-02-08 10:12:46 +13:00
Rob Bygrave and GitHub
684508b7ea
Merge pull request #2554 from FOCONIS/add-stored-procs-mysql
...
generate mysql StoredProcs for column deletion also for mariadb
2022-02-08 10:12:13 +13:00
Rob Bygrave and GitHub
ab72fd97b9
Merge pull request #2553 from FOCONIS/add-yugabyte-platform
...
Add Yugabyte-Platform to DefaultDbMigration
2022-02-08 10:11:33 +13:00
Rob Bygrave and GitHub
8486415249
Merge pull request #2552 from FOCONIS/flaky-dtimedmetrictest
...
DTimedMetricTest fails sometimes (flaky test)
2022-02-08 10:10:36 +13:00
Roland Praml
6a74b84b8c
Comments and mysql fixes
2022-02-07 17:07:01 +01:00
Roland Praml
999be3e0a7
ClickHouseDb - decimal[] array type missing
2022-02-07 16:40:11 +01:00
Roland Praml
a656b55526
generate mysql StoredProcs for column deletion also for mariadb
2022-02-07 16:37:15 +01:00
Roland Praml
dabb1451e9
Add Yugabyte-Platform to DefaultDbMigration
2022-02-07 16:34:39 +01:00
Roland Praml
cde00650ca
DTimedMetricTest fails sometimes
2022-02-07 16:27:09 +01:00
Roland Praml
6b96bea480
Disabled Yugabyte
2022-02-07 16:23:50 +01:00
Roland Praml
a731bfdfaf
Multi-platform tests
2022-02-07 16:04:59 +01:00
Roland Praml
0ee153d6bc
Add: ElementCollection
2022-02-07 14:08:26 +01:00
Roland Praml
cb89b903fd
Regenerated scripts & tests
2022-02-07 14:07:10 +01:00
Roland Praml
a93e2e05c5
Moved DbMigrationtests test to "ebean-tests"
2022-02-07 11:55:41 +01:00
Rob Bygrave and GitHub
05ad6da7e6
Merge pull request #2550 from ebean-orm/feature/cockroach-like
...
CockroachDB - Now supports LIKE ESCAPE and no longer needs Autocommit for DDL
2022-02-04 17:02:33 +13:00
Rob Bygrave
0d3ea9626c
CockroachDB - Now supports LIKE ESCAPE and no longer needs Autocommit for DDL
2022-02-04 17:02:01 +13:00
Rob Bygrave
b8b83c2ec8
Update more tests for CockroachDB
2022-02-04 16:59:16 +13:00
Rob Bygrave
d05dfae1d7
Merge branch 'master' of github.com:ebean-orm/ebean
2022-02-04 15:55:26 +13:00
Rob Bygrave
d0fcd4a13a
#2549 - Fix DefaultPersister to expose non RuntimeExceptions on insert/update/delete. Not hide NoClassDefFoundError etc
2022-02-04 15:55:00 +13:00
Rob Bygrave and GitHub
b02adeccc1
Merge pull request #2548 from ebean-orm/feature/tests-for-cockroach
...
CockroachDB - Modify tests, use BigDecimal over Double etc
2022-02-04 11:04:55 +13:00
Rob Bygrave
b3f110b7a5
CockroachDB - Modify tests, use BigDecimal over Double etc
2022-02-04 10:42:07 +13:00
Rob Bygrave
daf0ba67a4
#2547 - CockroachDB - Use ON DISTINCT ... like Postgres and Yugabyte
2022-02-04 08:58:21 +13:00
Rob Bygrave
cf3499f0e4
#2547 - Update BaseTestCase to include CockroachDB
2022-02-04 08:41:34 +13:00
Rob Bygrave
a72cbaf243
#2547 - Cockroach identity DDL - Changing to use standard GENERATED ... AS IDENTITY syntax
2022-02-04 08:40:23 +13:00
Rob Bygrave
9ea2811aa3
Add H2Database build badge
2022-02-03 17:13:45 +13:00
Rob Bygrave
0abef7396f
Add H2Database build workflow
2022-02-03 16:41:58 +13:00
Rob Bygrave
101d9e85ef
Add H2Database build workflow
2022-02-03 16:38:17 +13:00
Rob Bygrave
7a3be45efd
Add Yugabyte build badge to README
2022-02-03 16:22:53 +13:00
Rob Bygrave
f4d92eed18
Bump test modules to 12.15.1-SNAPSHOT after release
2022-02-03 09:19:10 +13:00
Rob Bygrave
db6f2cba75
[maven-release-plugin] prepare for next development iteration
2022-02-03 09:02:38 +13:00
Rob Bygrave
6f694eb6ca
[maven-release-plugin] prepare release ebean-parent-12.15.0
2022-02-03 09:02:30 +13:00
Rob Bygrave
539633c963
Adjust Multi-database platform
2022-02-02 23:40:58 +13:00
Rob Bygrave
8e05956f6b
Default tests to use H2
2022-02-02 23:39:15 +13:00
Rob Bygrave
94951a5476
Yugabyte - use distinct on clause with Yugabyte (like Postgres)
2022-02-02 23:38:50 +13:00
Rob Bygrave and GitHub
2cd769d00f
Merge pull request #2546 from ebean-orm/feature/yugabyte-mutlivaluebind
...
Modify tests to use isPostgresCompatible() (to effectively include Yugabyte)
2022-02-02 23:26:12 +13:00
Rob Bygrave
389f2bcd2f
Modify tests to use isPostgresCompatible() (to effectively include Yugabyte)
2022-02-02 23:25:13 +13:00
Rob Bygrave and GitHub
1ba259d15d
Merge pull request #2545 from ebean-orm/feature/yugabyte-mutlivaluebind
...
Yugabyte - Use MultiValueBind like Postgres (that is, ANY(?) clause in sqlQuery/sqlUpdate)
2022-02-02 23:03:33 +13:00
Rob Bygrave
4899f23773
Yugabyte - Use MultiValueBind like Postgres (that is, ANY(?) clause in sqlQuery/sqlUpdate)
2022-02-02 23:02:32 +13:00
Rob Bygrave
771e9ff069
Tidy tests only - EqlParserTest, EbeanServer_deleteAllByIdTest
2022-02-02 23:00:06 +13:00
Rob Bygrave
7d27c06483
Bump jaxb-runtime dependency
2022-02-02 22:30:37 +13:00
Rob Bygrave
d6a8643fe4
Support @DbArray of BigDecimal
2022-02-02 22:22:42 +13:00
Rob Bygrave and GitHub
97c714d945
Merge pull request #2544 from ebean-orm/feature/dbarray_bigdecimal
...
Support @DbArray of BigDecimal
2022-02-02 22:08:48 +13:00
Rob Bygrave
57f6668b37
Support @DbArray of BigDecimal
2022-02-02 21:57:39 +13:00
Rob Bygrave
9d506b4397
Bump test dependencies
2022-02-02 20:48:55 +13:00
Rob Bygrave
5a12cc58d1
Bump Postgres test dependencies to 42.3.2
2022-02-02 17:18:14 +13:00
Rob Bygrave
f7c83411c2
#2415 - SQL for Index and Foreign Key didn't get generated if I map ID column after @ManyToOne
...
Allow declaring the column twice with scalar type after ManyToOne type
2022-02-02 17:12:18 +13:00
Rob Bygrave and GitHub
a02fee7de0
Merge pull request #2539 from ebean-orm/feature/performance-pathmaps
...
#2507 - Script runner does not work with file system path
2022-02-02 13:03:45 +13:00
Rob Bygrave
170e323ee9
#2507 - Script runner does not work with file system path
2022-02-02 13:02:49 +13:00
Rob Bygrave and GitHub
4555f3da51
Merge pull request #2538 from ebean-orm/feature/performance-pathmaps
...
Performance - cache the path maps used for load context
2022-02-02 12:30:56 +13:00
Rob Bygrave
376b3a9f13
#2538 - Tidy CQuery use of path()
2022-02-02 12:20:33 +13:00
Rob Bygrave
43af5343a4
Performance - cache the path maps used for load context
...
- Cache the path maps
- Include the ToOne paths
- Use empty map for null prefix
2022-02-02 12:10:02 +13:00
Rob Bygrave
886f539fc4
Refactor tidy SqlTreeNodeBean
2022-02-02 11:30:56 +13:00
Rob Bygrave
1035d74113
Bump to 12.15.0-SNAPSHOT
2022-02-02 11:20:59 +13:00
Rob Bygrave
26a4feb5ba
Bump to 12.15.0-SNAPSHOT
2022-02-02 11:14:36 +13:00
Rob Bygrave
a1c0e21234
Bump to 12.15.0-SNAPSHOT
2022-02-02 10:59:04 +13:00
Rob Bygrave
cbe133dd68
#2509 - Bump jedis client to 4.1.1
2022-02-02 10:56:59 +13:00
Rob Bygrave and GitHub
4b1fe063b0
Merge pull request #2531 from FOCONIS/db2/persist-batch-on-cascade
...
Set persistBatchOnCascade to ALL for newer DB2 versions
2022-02-02 09:06:39 +13:00
Rob Bygrave
15f1bd310b
#2521 - Refactor inline index++
2022-02-02 09:05:14 +13:00
Rob Bygrave
6e3e9bd4f7
git push origin masterMerge branch 'FOCONIS-db2/fix-get-generated-keys'
2022-02-02 09:00:01 +13:00
Rob Bygrave
fddcc64741
#2521 - Move horrible DB2 hack into DB2GetKeys
2022-02-02 08:59:41 +13:00
Rob Bygrave
ed917c55f1
Merge branch 'db2/fix-get-generated-keys' of https://github.com/FOCONIS/ebean into FOCONIS-db2/fix-get-generated-keys
2022-02-02 08:46:42 +13:00
Rob Bygrave
17fed0ebd8
Tidy test only - TestNestedBeginRequiresNew
2022-02-01 15:18:06 +13:00
Rob Bygrave and GitHub
2dcd17830a
Merge pull request #2536 from ebean-orm/feature/ebeantest-pg14
...
ebean-test - bump Postgres default container to 14
2022-02-01 13:46:09 +13:00
Rob Bygrave
a412873da6
ebean-test - bump Postgres default container to 14
2022-02-01 13:36:37 +13:00
Rob Bygrave and GitHub
7f5370c709
Merge pull request #2535 from ebean-orm/feature/yugabyte-workflow-build
...
Yugabyte - Add specific github workflow build
2022-02-01 13:33:28 +13:00
Rob Bygrave
9470a1376c
Yugabyte - Add specific github workflow build
2022-02-01 13:32:55 +13:00
Rob Bygrave and GitHub
7f5b65cf45
Merge pull request #2534 from ebean-orm/feature/yugabyte-test
...
Yugabyte - ebean-test support via ebean.test.platform=yugabyte
2022-02-01 13:30:49 +13:00
Rob Bygrave
6d0f5aea82
Yugabyte - ebean-test support via ebean.test.platform=yugabyte
2022-02-01 13:26:05 +13:00
Rob Bygrave
530a75b591
DB - test ddl changes
2022-02-01 13:24:50 +13:00
Rob Bygrave
13cfaba0c8
Yugabyte - Disable commit and continue test for Yugabyte (failing occasionally, need to review)
2022-02-01 11:55:26 +13:00
Rob Bygrave
1fa92efb63
Yugabyte - Adjust DbJsonTest wrt ordering in content, use JSON assertContainsResource()
...
Highlights that the DbJson assertContains() asserts are better longer term approach (over content matching asserts)
2022-02-01 11:55:15 +13:00
Rob Bygrave
bc477c64cb
Yugabyte - Disable commit and continue test for Yugabyte (failing occasionally, need to review)
2022-02-01 11:53:03 +13:00
Rob Bygrave
804098149e
Yugabyte - Tidy tests with element collections not maintaining ordering
2022-02-01 11:51:46 +13:00
Rob Bygrave
567ad92050
Yugabyte - Tidy tests
2022-02-01 10:41:29 +13:00
Rob Bygrave and GitHub
3a84cb8623
Merge pull request #2533 from ebean-orm/feature/yugabyte-json-hstore
...
Yugabyte - Fix some tests for running against Yugabyte
2022-02-01 09:50:05 +13:00
Rob Bygrave
b4ddbe38ee
Yugabyte - Fix some tests for running against Yugabyte
2022-02-01 09:49:23 +13:00
Rob Bygrave and GitHub
01722b334b
Merge pull request #2532 from FOCONIS/db2/unique_indices_with_null_columns
...
DB2 Support for unique indices with null columns
2022-02-01 08:16:43 +13:00
Rob Bygrave and GitHub
0a780523cf
Merge pull request #2529 from ebean-orm/feature/yugabyte-json-hstore
...
Yugabyte - Use Postgres ScalarTypes for JSON/JSONB but not HSTORE
2022-02-01 07:56:26 +13:00
Roland Praml and Jonas Pöhler
f2e04d9fbf
DB2. Support for unique indices with null columns
...
(cherry picked from commit 23a5d577a6 )
2022-01-31 13:58:40 +01:00
Jonas Pöhler
4b8565e7c7
FIX: we can set persistBatchOnCascade to ALL for newer DB2 versions
2022-01-31 11:32:22 +01:00
Rob Bygrave
1359d534d5
Yugabyte - Use Postgres ScalarTypes for JSON/JSONB but not HSTORE
2022-01-29 17:05:12 +13:00
Rob Bygrave and GitHub
94ae513d85
Merge pull request #2522 from FOCONIS/db2/check-exception-chain
...
DB2: SqlCodeTranslator must check exception chain
2022-01-29 15:33:46 +13:00
Rob Bygrave and GitHub
d58c56484e
Merge pull request #2517 from FOCONIS/fix-datasource
...
FIX: Datasource was not initialized in offline mode.
2022-01-29 15:28:53 +13:00
Rob Bygrave and GitHub
75a27fa2d6
Merge pull request #2511 from FOCONIS/unselect-lobs
...
Unselect LOBs when making a distinct select
2022-01-29 15:25:00 +13:00
Rob Bygrave and GitHub
cc1c08cd34
Merge pull request #2528 from FOCONIS/db2/disabled-tests
...
DB2 Fix tests for DB2
2022-01-29 15:19:01 +13:00
Rob Bygrave and GitHub
029cde12db
Merge pull request #2527 from FOCONIS/db2/fix-sequence
...
DB2: Fix Sequence generator
2022-01-29 15:16:24 +13:00
Rob Bygrave and GitHub
b33914ab2f
Merge pull request #2526 from FOCONIS/db2/no-null-values
...
DB2: Do not try to update deferred null values (Discovered by TestPrinterStateIssue)
2022-01-29 15:15:33 +13:00
Rob Bygrave and GitHub
d571a6c354
Merge pull request #2525 from FOCONIS/db2/truncate
...
DB2: truncate needs commit after each statement
2022-01-29 15:13:29 +13:00
Rob Bygrave and GitHub
95b19569e4
Merge pull request #2524 from FOCONIS/db2/nocompressedid
...
DB2 does not support ids in compressed form
2022-01-29 15:12:25 +13:00
Rob Bygrave and GitHub
a9560c6664
Merge pull request #2523 from FOCONIS/db2/sqllimiter
...
DB2: FIX Db2SqlLimiter & tests
2022-01-29 15:11:33 +13:00
Rob Bygrave and GitHub
235822bcb2
Merge pull request #2520 from FOCONIS/db2/fix-raw-like
...
DB2: Fix Raw like
2022-01-29 15:07:41 +13:00
Rob Bygrave and GitHub
5a024ea19f
Merge pull request #2519 from FOCONIS/db2/fix-default-values
...
DB2: Fix default values for auto generated ids
2022-01-29 15:06:54 +13:00
Rob Bygrave and GitHub
399f8b92fa
Merge pull request #2518 from FOCONIS/db2/fix-concat-operator
...
DB2: Fix Concat operator
2022-01-29 15:05:58 +13:00
Rob Bygrave and GitHub
be93263015
Merge pull request #2513 from FOCONIS/h2-backward-compat
...
Test against H2 1.4.199
2022-01-29 11:23:19 +13:00
Roland Praml
b4fe4ec8b9
ADD.profile and autodetect code
2022-01-28 16:04:35 +01:00
Roland Praml
8c9f5f4a22
Disabled more tests for DB2
2022-01-28 11:38:11 +01:00
Roland Praml
953f8054e6
FIX: Clean up tests
2022-01-28 11:38:01 +01:00
Roland Praml
aadb791980
FIX: isSame replaceed by isEqualTo
2022-01-28 11:37:48 +01:00
Roland Praml
7430f97c9c
fix compile errors for EqlParserTest
2022-01-28 11:37:30 +01:00
Roland Praml
ba21eeaadb
DB2: Do not try to update deferred null values (Discovered by TestPrinterStateIssue)
2022-01-28 10:59:16 +01:00
Roland Praml
c0e827ffda
DB2: Fix Sequence generator
2022-01-28 10:57:41 +01:00
Roland Praml
3b30708dfc
DB2: truncate needs commit after each statement
2022-01-28 10:56:01 +01:00
Roland Praml
9f9184ac6a
DB2 does not support ids in compressed form
2022-01-28 10:53:51 +01:00
Roland Praml
5845f94303
DB2:ignored tests
2022-01-28 10:28:02 +01:00
Roland Praml
dd824ffe52
DB2: Fix EqlParserTests similar to HANA
2022-01-28 10:27:50 +01:00
Roland Praml
e5d29afa4c
DB2: Disabled test for encryption, as it is not supported for Db2
2022-01-28 10:27:39 +01:00
Roland Praml
5ae5e408e3
DB2: FIX Db2SqlLimiter & tests
2022-01-28 10:23:22 +01:00
Roland Praml
90f6d0707f
DB2: SqlCodeTranslator must check exception chain
2022-01-28 10:21:55 +01:00
Roland Praml
0310601e31
DB2: Fix getGenerateKeys (ungly workaround)
2022-01-28 10:06:34 +01:00
Roland Praml
015dd00b8e
DB2: Fix Raw like
2022-01-28 10:04:20 +01:00
Roland Praml
6d978add29
DB2: Fix default values
2022-01-28 09:47:49 +01:00
Roland Praml
e529232f76
DB2: Fix insert default values
2022-01-28 09:47:04 +01:00
Roland Praml
d982ac73b7
DB2: Fix Concat operator
2022-01-28 09:38:41 +01:00
Roland Praml
ddaff81b9c
FIX: Datasource was not initialized in offline mode.
2022-01-28 09:29:12 +01:00
Rob Bygrave and GitHub
1d11666945
Merge pull request #2516 from ebean-orm/feature/yugabyte-platform-ddl
...
Yugabyte platform support - Automatic detection and DDL support
2022-01-28 17:45:46 +13:00
Rob Bygrave
223e5160dc
#2516 - Touch StartYugabyte
2022-01-28 17:26:58 +13:00
Rob Bygrave
64605b5090
Yugabyte platform support - Automatic detection and DDL support
...
- Automatic detection similar to Cockroach
- DDL very similar to Postgres but no CREATE TABLE LIKE support (for history DDL)
2022-01-28 17:04:19 +13:00
Rob Bygrave
425124d8f7
Adjust README for build badge changes
2022-01-28 10:55:22 +13:00
Rob Bygrave
6af8968280
Adjust workflow build for Oracle 18
2022-01-28 10:44:25 +13:00
Rob Bygrave
a9bee03ba7
Add workflow build for Oracle 18
2022-01-28 09:57:49 +13:00
Rob Bygrave and GitHub
302cc426bd
Merge pull request #2515 from ebean-orm/feature/oracle-maxInBinding
...
Add maxInBinding - Oracle support for large delete by ids
2022-01-28 09:50:01 +13:00
Rob Bygrave
44462e3513
Add maxInBinding - Oracle support for large delete by ids
2022-01-28 09:46:03 +13:00
Rob Bygrave
b748c598a1
build workflow rename for DB2 LUW
2022-01-28 09:04:56 +13:00
Rob Bygrave
dbac184b4c
Rename build workflows
2022-01-28 08:58:25 +13:00
Rob Bygrave
29c5916203
Add build workflow for db2
2022-01-28 08:54:21 +13:00
Rob Bygrave and GitHub
827315a11d
Merge pull request #2509 from ebean-orm/feature/jedis-4x
...
Support jedis 4.1.0 client (ScanParams, ScanResult in different package now)
2022-01-28 08:37:28 +13:00
Rob Bygrave and GitHub
14ef8f6e0d
Merge pull request #2512 from FOCONIS/introduce-db2
...
ADD: different DB2 platforms
2022-01-28 08:17:03 +13:00
Roland Praml
5b63434f13
reindent code and linked #2514
2022-01-27 16:43:35 +01:00
Roland Praml
3e8cc87f01
Add: github workflow for db2
2022-01-27 16:02:18 +01:00
Roland Praml
190b4ef588
Made some fixes in wrong ddl generation
2022-01-27 15:58:44 +01:00
Roland Praml
4a20c9eb99
Test against H2 1.4.199
2022-01-27 13:56:21 +01:00
Roland Praml
d8c2b3d583
FIX: Compile errors
2022-01-27 10:34:25 +01:00
Roland Praml
48c8f5e2ca
ADD: different DB2 platforms
2022-01-27 10:09:31 +01:00
Noemi Szemenyei and Roland Praml
69a753fc4f
DB2:Unselect LOBs when making a distinct select
2022-01-27 08:34:51 +01:00
Roland Praml
b9ba6b2db5
DB2: Adapted Noemi's patch to new ebean version
2022-01-27 07:57:35 +01:00
Rob Bygrave
7a6071ac9a
Support jedis 4.1.0 client (ScanParams, ScanResult in different package now)
2022-01-27 09:20:23 +13:00
Rob Bygrave
404b167bcc
#2508 - Bump ebean-datasource to 7.5
2022-01-27 09:13:20 +13:00
Rob Bygrave
7278db56ea
Modify test TestUuidGenerator to allow odd jvm variance in root error message
2022-01-27 09:12:57 +13:00
Rob Bygrave and GitHub
1dc5ecc81f
Merge pull request #2506 from FOCONIS/fix-localdate-databind
...
DB2: Fix: DataBind/Read of native LocalDates
2022-01-27 09:02:04 +13:00
Rob Bygrave and GitHub
c39661e2c2
Merge pull request #2505 from FOCONIS/refactor-uuid-v1-generator
...
Refactor UUID generator. Add uuid-property to serverConfig (#57 )
2022-01-27 08:55:48 +13:00
Rob Bygrave and GitHub
a702bbb5ee
Merge pull request #2504 from FOCONIS/sqlserver-delete-problem
...
Cannot delete bean with more than 2100 child beans on SqlServer
2022-01-27 08:54:27 +13:00
Roland Praml and Roland Praml
1982027300
Organized imports
2022-01-26 16:55:50 +01:00
Roland Praml and Roland Praml
2e1a6eec04
DB2: Fix: DataBind/Read of native LocalDates
2022-01-26 16:51:55 +01:00
Roland Praml and Roland Praml
e5f37e638c
Refactor UUID generator. Add uuid-property to serverConfig ( #57 )
...
Co-authored-by: Roland Praml <roland.praml@foconis.de >
2022-01-26 12:05:12 +01:00
Roland Praml
7ffea8e922
FIX: DeleteBatch for SQLServer
2022-01-26 11:59:35 +01:00
Roland Praml
315640df6b
ADD: Failing test case
2022-01-26 11:59:17 +01:00
Rob Bygrave
78a647a72e
Merge branch 'master' of github.com:ebean-orm/ebean
2022-01-26 22:42:10 +13:00
Rob Bygrave
7ffd2f1886
#2501 Modify pom use ${h2database.version}
2022-01-26 22:41:55 +13:00
Rob Bygrave and GitHub
0087eabb4e
Merge pull request #2502 from FOCONIS/fix-composite-id-in-select-distinct
...
Fix: composite id in select distinct queries
2022-01-26 22:22:18 +13:00
Rob Bygrave and GitHub
5f0731f975
Merge pull request #2499 from ebean-orm/dependabot/maven/ebean-core/com.h2database-h2-2.1.210
...
Bump h2 from 1.4.199 to 2.1.210 in /ebean-core
2022-01-26 22:19:14 +13:00
Rob Bygrave and GitHub
85e31899b9
Merge pull request #2498 from ebean-orm/dependabot/maven/ebean-test/com.h2database-h2-2.1.210
...
Bump h2 from 1.4.199 to 2.1.210 in /ebean-test
2022-01-26 22:18:50 +13:00
Rob Bygrave and GitHub
3337541ac4
Merge pull request #2497 from ebean-orm/dependabot/maven/ebean-api/com.h2database-h2-2.1.210
...
Bump h2 from 1.4.199 to 2.1.210 in /ebean-api
2022-01-26 22:18:18 +13:00
Rob Bygrave
b123b06f4d
Merge branch 'wip/h2database-v2'
2022-01-26 22:08:52 +13:00
Rob Bygrave
17df5a2c16
Merge branch 'master' into wip/h2database-v2
2022-01-26 22:07:20 +13:00
Rob Bygrave and GitHub
e13aaefee1
Merge pull request #2500 from ebean-orm/feature/refactor-sqltreeload
...
Refactor internals split result load functionality from SqlTreeNode into SqlTreeLoad
2022-01-26 22:04:42 +13:00
Rob Bygrave
09ce693da2
Merge branch 'feature/refactor-sqltreeload' of github.com:ebean-orm/ebean into feature/refactor-sqltreeload
2022-01-26 22:00:40 +13:00
Rob Bygrave
17f7be72f4
Touch README.md
2022-01-26 22:00:28 +13:00
Rob Bygrave
23061473c7
Refactor internals split result load functionality from SqlTreeNode into SqlTreeLoad
2022-01-26 22:00:28 +13:00
Rob Bygrave
0944b87283
Merge branch 'wip/h2database-v2' of github.com:ebean-orm/ebean into wip/h2database-v2
2022-01-26 21:58:12 +13:00
Rob Bygrave
86768dfe4d
Touch application-test.properties
2022-01-26 21:57:41 +13:00
Rob Bygrave
ffdafc796b
Touch README.md
2022-01-26 21:54:19 +13:00
Rob Bygrave
5466c6a350
Reduce logging when running Build tests
2022-01-26 21:51:48 +13:00
Rob Bygrave
7e0ac5a73a
Fix issues with tests - tidy ResetBasicData
2022-01-26 21:47:00 +13:00
Noemi Szemenyei
008e1849a2
FIX: other queries for other platforms
2022-01-26 08:25:38 +01:00
Noemi Szemenyei
dcf60a3d1c
Trigger Build
2022-01-26 08:09:42 +01:00
Rob Bygrave
774cab327d
Fix issues with test ordering - ordering in ResetBasicData
2022-01-26 17:23:18 +13:00
Rob Bygrave
2f824c99ea
Fix issues with test ordering
2022-01-26 16:53:38 +13:00
Rob Bygrave
1a54fc12ad
Test logging enabled for investigating CI Build issue
2022-01-26 15:48:03 +13:00
Rob Bygrave
a1d6b280bc
Bump test parent poms
2022-01-26 14:58:38 +13:00
Rob Bygrave
fa561e5197
CI Build with single test and bump enhancement tiles
2022-01-26 14:52:32 +13:00
Rob Bygrave
4a8231a6cc
CI Build using adopt distribution
2022-01-26 14:38:52 +13:00
Rob Bygrave
5cb486c745
CI Build without maven cache
2022-01-26 14:18:02 +13:00
Noemi Szemenyei
dd26dc342d
FIX: select properties of the embedded Id
...
(cherry picked from commit 58e952b1ec )
2022-01-25 09:42:27 +01:00
Noemi Szemenyei
7733e9382c
ADD: failing test with select distinct with composite key and T0.NULL
...
(cherry picked from commit a08ba194b7 )
2022-01-25 09:42:04 +01:00
Rob Bygrave and GitHub
bc6d2fb3be
Merge branch 'master' into wip/h2database-v2
2022-01-25 21:30:36 +13:00
Rob Bygrave
a9dbc036e9
Support H2database 2.x
2022-01-25 21:28:09 +13:00
Rob Bygrave
8d29a3a575
Bind LocalDate directly using JDBC driver to convert
...
This addresses issues with dates before 1900-01-01 with H2Database
2022-01-25 21:27:32 +13:00
Rob Bygrave
4158ac4665
Refactor internals split result load functionality from SqlTreeNode into SqlTreeLoad
2022-01-25 13:44:23 +13:00
dependabot[bot] and GitHub
ddab6e65b7
Bump h2 from 1.4.199 to 2.1.210 in /ebean-core
...
Bumps [h2](https://github.com/h2database/h2database ) from 1.4.199 to 2.1.210.
- [Release notes](https://github.com/h2database/h2database/releases )
- [Commits](https://github.com/h2database/h2database/compare/version-1.4.199...version-2.1.210 )
---
updated-dependencies:
- dependency-name: com.h2database:h2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-21 23:47:28 +00:00
dependabot[bot] and GitHub
bbede04a56
Bump h2 from 1.4.199 to 2.1.210 in /ebean-test
...
Bumps [h2](https://github.com/h2database/h2database ) from 1.4.199 to 2.1.210.
- [Release notes](https://github.com/h2database/h2database/releases )
- [Commits](https://github.com/h2database/h2database/compare/version-1.4.199...version-2.1.210 )
---
updated-dependencies:
- dependency-name: com.h2database:h2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-21 23:47:27 +00:00
dependabot[bot] and GitHub
9df96b0294
Bump h2 from 1.4.199 to 2.1.210 in /ebean-api
...
Bumps [h2](https://github.com/h2database/h2database ) from 1.4.199 to 2.1.210.
- [Release notes](https://github.com/h2database/h2database/releases )
- [Commits](https://github.com/h2database/h2database/compare/version-1.4.199...version-2.1.210 )
---
updated-dependencies:
- dependency-name: com.h2database:h2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-21 23:47:27 +00:00
Rob Bygrave
6a6b6b8200
Bump ebean-kotlin to 12.14.2-SNAPSHOT
2022-01-21 17:38:59 +13:00
Rob Bygrave
e26e093680
Bump test poms to 12.14.2-SNAPSHOT
2022-01-21 17:38:03 +13:00
Rob Bygrave and GitHub
fc107115c6
Merge pull request #2494 from ebean-orm/FOCONIS-pr/enh/stored_procedures_mysql_drop_column
...
Optionally allow use of stored procedures for MySql to drop columns in db migration
2022-01-21 17:26:22 +13:00
Rob Bygrave
0139ad891e
#2403 - table partitioning (Postgres only at this point) is always included + simplify skip logic
2022-01-21 17:20:21 +13:00
Rob Bygrave
4f70c09690
Merge branch 'pr/enh/stored_procedures_mysql_drop_column' of https://github.com/FOCONIS/ebean into FOCONIS-pr/enh/stored_procedures_mysql_drop_column
2022-01-21 17:06:48 +13:00
Rob Bygrave
df8ae18bf6
[maven-release-plugin] prepare for next development iteration
2022-01-17 22:31:00 +13:00
Rob Bygrave
8edaabf755
[maven-release-plugin] prepare release ebean-parent-12.14.1
2022-01-17 22:30:53 +13:00
Rob Bygrave
25eea42211
Bump to ebean-migration 12.13.0 and ebean-agent 12.14.1
2022-01-17 22:28:36 +13:00
Rob Bygrave
263f6cdeba
Tidy OraclePlatform only
2022-01-17 22:10:53 +13:00
Rob Bygrave
38f1967e60
#2473 - Oracle - column alias - Change such that OraclePlatform doesn't use column alias
...
So with #2254 we regressed OraclePlatform to use column alias. This really should have introduced an Oracle12 platform instead. 18c onwards and we don't want the column alias.
2022-01-17 22:10:21 +13:00
Rob Bygrave
6eb8eb0dd2
#2473 Tidy BasicSqlAnsiLimiter only, no functional change
2022-01-17 21:58:33 +13:00
Rob Bygrave
1165d857d8
Fix test ParentQueryTest
2022-01-17 21:57:14 +13:00
Rob Bygrave
874c2f5231
#2492 - Fix for Oracle platform when insert only default values
2022-01-17 21:42:09 +13:00
Rob Bygrave
88ab852855
No real change, tidy DbExpressionHandlerFactory only
2022-01-17 21:28:45 +13:00
Rob Bygrave
b577331524
#2492 - Fix for Oracle platform when insert only default values
2022-01-17 21:27:42 +13:00
Rob Bygrave
ec45fc1c86
Fix tests for Oracle - BITADD in @Where clause expression
2022-01-17 21:26:19 +13:00
Rob Bygrave
e65876e8ed
#2477 - Add failing test case (disable for the moment)
2022-01-17 20:58:19 +13:00
Rob Bygrave and GitHub
5453037172
Merge pull request #2491 from ebean-orm/feature/2476-elementCollectionConstructor
...
#2476 - Fix for element collection on bean with default constructor
2022-01-17 15:41:33 +13:00
Rob Bygrave
9b116c9bf6
#2476 - tidy tests
2022-01-17 15:38:41 +13:00
Rob Bygrave
82862deccc
#2476 - Fix for element collection on bean with default constructor
...
Note that we can look for a better longer term fix which might would look at treating element collection more like ToMany collections in terms of enhancement.
2022-01-17 15:36:26 +13:00
Rob Bygrave
1c83bbe0b0
#2476 - Failing test for element collection on bean with default constructor
2022-01-17 15:33:13 +13:00
Rob Bygrave and GitHub
f16f34f35f
Merge pull request #2488 from ebean-orm/feature/2487
...
#2487 - ebean-test support Docker In Docker - docker container's hostname rather than hardcoded "localhost"
2022-01-14 16:32:04 +13:00
Rob Bygrave
38bc5b2fea
#2488 - refactor extract logic into DockerHost helper, fix RedisSetup, pass docker host to ebean-test-docker
2022-01-14 16:27:04 +13:00
Rob Bygrave
356dc5eb19
#2487 - ebean-test support Docker In Docker - docker container's hostname rather than hardcoded "localhost"
2022-01-13 15:02:38 +13:00
Rob Bygrave and GitHub
c5779133bc
Merge pull request #2485 from FOCONIS/fix-utf8-problems-with-specialchars
...
Fix utf8 problems with specialchars
2022-01-13 11:05:27 +13:00
Rob Bygrave and GitHub
b8b6311348
Merge pull request #2447 from FOCONIS/fix-scalartype-problem2
...
Traverse class hierarchy, when searching for ScalarType
2022-01-13 10:58:05 +13:00
FOCONIS\szemenyei
8eed983fbb
restore old test
2022-01-12 08:37:46 +01:00
Rob Bygrave and GitHub
7cfecb83a9
Merge pull request #2486 from bigjimlefou/fixWindows
...
Fix some tests failing on Windows
2022-01-12 09:17:37 +13:00
bigjimlefou
e92939a34d
Fix failing test on Windows platform
2022-01-11 15:41:20 +01:00
bigjimlefou
408b982eb3
Use of platform-specific specific file separator
2022-01-11 15:41:19 +01:00
bigjimlefou
dd7e7711a8
Use of platform-specific specific file separator
2022-01-11 15:41:19 +01:00
bigjimlefou
5a3f7853a6
Fix failing test on Windows platform.
2022-01-11 15:41:19 +01:00
Roland Praml and FOCONIS\szemenyei
01847e44de
Always use UTF-8
2022-01-11 10:11:13 +01:00
FOCONIS\szemenyei
0cf9f0bf58
Revert "at first revert solution"
...
This reverts commit b01b44af10 .
2022-01-11 09:49:02 +01:00
FOCONIS\szemenyei
b01b44af10
at first revert solution
2022-01-11 09:48:47 +01:00
FOCONIS\szemenyei
8d85000970
Fix Checksum calculate() with special characters
...
(cherry picked from commit e9efd5a702 )
2022-01-11 09:47:44 +01:00
Jonas Pöhler
e7f9c63502
Clear up some possible confusion in the test
2022-01-05 15:46:34 +01:00
Jonas Pöhler
eb21b41fba
Refactor and fixes for interfaces (like Path) + extend existing tests
2022-01-05 14:22:24 +01:00
Jonas Pöhler
3dc6c567a0
Merge remote-tracking branch 'ebean/master' into fix-scalartype-problem2
2022-01-05 13:34:29 +01:00
Rob Bygrave and GitHub
18eed47306
Merge pull request #2475 from bigjimlefou/fixLocale
...
Fix locale problem with TestCsvReader and TestCsvReaderWithCallback.
2021-12-24 11:10:05 +13:00
Cédric Sougné
9ddf1333ed
Fix locale problem with TestCsvReader and TestCsvReaderWithCallback.
2021-12-23 17:19:44 +01:00
Rob Bygrave
73896d375f
Bump test modules to 12.14.1-SNAPSHOT after release
2021-12-20 16:49:18 +13:00
Rob Bygrave
3f645211a6
[maven-release-plugin] prepare for next development iteration
2021-12-20 16:34:23 +13:00
Rob Bygrave
451e2fa93c
[maven-release-plugin] prepare release ebean-parent-12.14.0
2021-12-20 16:34:17 +13:00
Rob Bygrave
2ff3b0acb7
Update gitflow cron schedule for mariadb, sqlserver, jdk-18
2021-12-20 16:20:08 +13:00
tFellner and GitHub
42594533da
Support for Sequences in MariaDB ( #2304 )
...
* Support for Sequneces in MariaDB
* clean up readSequenceValue in test class
* remove flakiness
* remove change for later discussion
* replace deprecated methods
* strictly allow sequences
2021-12-20 16:11:30 +13:00
Rob Bygrave
678494f331
Bump version of logback used in tests only
2021-12-20 16:09:33 +13:00
Rob Bygrave
361df6732a
#2472 - BeanPersistController and isCascade() for delete requests (following #2458 )
2021-12-20 15:49:58 +13:00
Rob Bygrave
c3320f4a0b
Bump version to 12.14.0-SNAPSHOT
2021-12-20 13:14:34 +13:00
Rob Bygrave
c411d9a665
Bump version to 12.14.0-SNAPSHOT
2021-12-20 12:47:36 +13:00
Rob Bygrave
8ea2c31076
#2471 - Bump avaje-config to 1.7 (from 1.5) with removed jndi lookup for DataSource
2021-12-20 12:45:30 +13:00
Rob Bygrave
254b0df16b
#2470 - Bump jedis to version 3.8.0 (from 3.6.3)
2021-12-20 12:40:41 +13:00
Rob Bygrave
c0f4451d20
Fix pom versions in test only modules after release
2021-12-20 10:47:26 +13:00
Rob Bygrave and GitHub
6c544a2835
Merge pull request #2468 from FOCONIS/pr/fix/jdbc_url_sqlserver_tests
...
Unify JDBC URL for SqlServer (analog to testconfig-files)
2021-12-20 10:29:58 +13:00
Rob Bygrave and GitHub
227d18bbf0
Merge pull request #2469 from FOCONIS/pr/enh/helper_methods_annotation_util
...
Add metaHas and metaFindAll in AnnotationUtil
2021-12-20 10:28:32 +13:00
Rob Bygrave and GitHub
18cdd2ed7a
Merge pull request #2466 from FOCONIS/pr/fix/remove_unused_load_error_handler
...
Remove unused LoadErrorHandler interface
2021-12-20 10:27:14 +13:00
Jonas Pöhler
91d1fb8cea
ADD: javadoc
2021-12-17 15:10:30 +01:00
Jonas Pöhler
058021f8d0
ADD: metaHas and metaFindAll as functional sugar
2021-12-17 13:56:08 +01:00
Roland Praml and Jonas Pöhler
f4d270e8b5
FIX: JDBC URL for SqlServer (similar to testconfig-files)
2021-12-17 13:26:00 +01:00
Jonas Pöhler
7b8052c097
Merge remote-tracking branch 'ebean/master' into pr/fix/remove_unused_load_error_handler
2021-12-17 13:22:46 +01:00
Rob Bygrave
68b7deba9d
Put back h2database to 1.4.199 as 2.x breaks way too many things, need to work on that
2021-12-17 23:25:49 +13:00
Rob Bygrave
860aad11ce
WIP h2database v2
2021-12-17 23:22:25 +13:00
Roland Praml and Jonas Pöhler
65e924feaa
Deleted obsolete LoadErrorHandler
2021-12-17 10:44:42 +01:00
Rob Bygrave
6cc5e83b01
Merge branch 'master' of github.com:ebean-orm/ebean
2021-12-17 21:47:17 +13:00
Rob Bygrave
752d5d4782
Remove pom.xml.releaseBackup from barfed release
2021-12-17 21:47:07 +13:00
Rob Bygrave and GitHub
20fdbfc972
Merge pull request #2463 from ebean-orm/dependabot/maven/ebean-test/com.h2database-h2-2.0.202
...
Bump h2 from 1.4.199 to 2.0.202 in /ebean-test
2021-12-17 21:44:21 +13:00
Rob Bygrave
bd01dfd29a
Bump parent pom, moved to s01.oss.sonatype.org
2021-12-17 20:57:46 +13:00
Rob Bygrave
6a9b5944a3
Remove release.properties that somehow got into git after release
2021-12-17 20:55:19 +13:00
dependabot[bot] and GitHub
6e31de6f2e
Bump h2 from 1.4.199 to 2.0.202 in /ebean-test
...
Bumps [h2](https://github.com/h2database/h2database ) from 1.4.199 to 2.0.202.
- [Release notes](https://github.com/h2database/h2database/releases )
- [Commits](https://github.com/h2database/h2database/compare/version-1.4.199...version-2.0.202 )
---
updated-dependencies:
- dependency-name: com.h2database:h2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-17 04:33:53 +00:00
Rob Bygrave
5fddc37037
[maven-release-plugin] prepare for next development iteration
2021-12-17 17:26:43 +13:00
Rob Bygrave
ca6e3963db
[maven-release-plugin] prepare release ebean-parent-12.13.2
2021-12-17 17:26:36 +13:00
Rob Bygrave and GitHub
a966557b68
Merge pull request #2459 from ebean-orm/feature/2458-isCascade
...
#2458 - Add BeanPersistController.isCascade() to identify cascade vs "top level" persist requests
2021-12-17 10:54:19 +13:00
Rob Bygrave
1a6a426683
#2458 - Add BeanPersistController.isCascade() to identify cascade vs "top level" persist requests
2021-12-17 10:43:27 +13:00
Rob Bygrave
dd43fe4db3
Update pom in ebean-kotlin empty module to use java 1.8
2021-12-15 21:49:34 +13:00
Rob Bygrave
b4ebeb0070
#2445 - update test generated ddl as part of ... Put back DB2 maxTableNameLength=18, maxConstraintNameLength=18
2021-12-15 21:49:02 +13:00
Rob Bygrave
0dbf982293
Javadoc only update in PlatformConfig
2021-12-15 21:47:58 +13:00
Rob Bygrave and GitHub
12d7184f02
Merge pull request #2454 from ebean-orm/feature/2445-revert-maxTableNameLength
...
#2445 - Put back DB2 maxTableNameLength=18, maxConstraintNameLength=18
2021-12-14 10:24:59 +13:00
Rob Bygrave
c3295f1145
#2445 - Put back DB2 maxTableNameLength=18, maxConstraintNameLength=18
2021-12-13 20:54:49 +13:00
Rob Bygrave
9bdcd6c55e
#2452 - server-wide defaultJsonMutation SOURCE is not honored by DbJson scalar types (e.g. List<String>)
2021-12-07 18:13:17 +13:00
Rob Bygrave
b627794f8f
#2451 - Initial add of ebean-kotlin module, home of kotlin extension
2021-12-07 16:25:46 +13:00
Rob Bygrave
b9f3ff24e9
Tidy test only - BasicProfileLocationTest
2021-12-07 15:25:02 +13:00
Rob Bygrave
9752eced1f
Adjust tests for JDK 18-ea build
2021-12-07 15:24:19 +13:00
Rob Bygrave
e7aa1fdac5
Update badges on README
2021-12-07 15:21:43 +13:00
Rob Bygrave
9d26ab2103
Adjust tests for JDK 18-ea build
2021-12-07 15:15:21 +13:00
Rob Bygrave
103f965182
Add github workflow for JDK 18-ea build
2021-12-07 14:51:53 +13:00
Rob Bygrave
d28d9a6176
Follow up to #2448 - Fix maven warning
2021-12-07 14:47:49 +13:00
Rob Bygrave and GitHub
173b81a64b
Merge pull request #2448 from FOCONIS/fix-pom
...
Fix maven warning
2021-12-07 14:43:03 +13:00
Rob Bygrave and GitHub
135b1e3b57
Merge pull request #2450 from carldea/master
...
Using TCK Tested JDK builds of OpenJDK Making the switch to Zulu
2021-12-07 14:20:57 +13:00
Carl Dea and GitHub
888109d706
Using TCK Tested JDK builds of OpenJDK
...
The AdoptOpenJDK has been discontinued since July 2021 (https://adoptopenjdk.net ). Switching the distribution to Azul Zulu. When using Zulu you get all the latest updated (TCK Tested) builds for all versions of OpenJDK.
2021-12-06 15:00:49 -05:00
Carl Dea and GitHub
8cd6d50def
Using TCK Tested JDK builds of OpenJDK
...
The AdoptOpenJDK has been discontinued since July 2021 (https://adoptopenjdk.net ). Switching the distribution to Azul Zulu. When using Zulu you get all the latest updated (TCK Tested) builds for all versions of OpenJDK
2021-12-06 14:59:41 -05:00
Roland Praml
272b316ecc
some more changes
2021-12-02 11:29:45 +01:00
Roland Praml
e95edad04b
Fix maven warning
2021-12-02 11:23:38 +01:00
Roland Praml
f830662cce
Improve TypeManager - cache typeNotFound information.
2021-12-02 11:18:22 +01:00
Roland Praml
84ac737ceb
ADD: Testcase for Calendar
2021-12-02 10:42:49 +01:00
Roland Praml
483f0398b2
Fix: 'No ScalarType registered for class java.util.GregorianCalendar' - check all registered scalar type if no exact match was found
2021-12-02 08:30:24 +01:00
Rob Bygrave
d934d44164
update README adding more badges
2021-12-01 22:14:11 +13:00
Rob Bygrave
a2ad1aaf6e
update test github workflows
2021-12-01 17:51:04 +13:00
Rob Bygrave
a0b6a13e6c
update test github workflows for sqlserver and mariadb
2021-12-01 17:27:26 +13:00
Rob Bygrave
a65340b939
update test github workflows for sqlserver and mariadb
2021-12-01 17:26:24 +13:00
Rob Bygrave
0279f8b1ad
add some test github workflows for sqlserver and mariadb
2021-12-01 16:02:32 +13:00
Rob Bygrave
bd2faed6a0
Update readme add badge for multi-jdk build
2021-12-01 15:54:01 +13:00
Rob Bygrave
a0e2155ec2
add github workflow multi-jdk-build.yml
2021-12-01 15:44:17 +13:00
Rob Bygrave
5ff9171aaf
Bump kotlin version to test against, use maven profiles for test module activation
2021-12-01 15:41:04 +13:00
Rob Bygrave
4d7936c1a6
add mariadb to multi-platform-test.yml
2021-12-01 13:54:55 +13:00
Rob Bygrave
552145db37
add sqlserver 2019 and 2017 testing to multi-platform-test.yml - adjust port for 2017
2021-12-01 13:17:54 +13:00
Rob Bygrave
0504cdc2d8
add sqlserver 2019 and 2017 testing to multi-platform-test.yml
2021-12-01 13:00:36 +13:00
Rob Bygrave
a380b609cd
add git workflow multi-platform-test
2021-12-01 09:55:22 +13:00
Rob Bygrave
65ac083872
add git workflow multi-platform-test
2021-12-01 09:52:59 +13:00
Rob Bygrave
a82dca24da
changed generated migrations from db2 change in #2445
2021-12-01 09:52:39 +13:00
Rob Bygrave and GitHub
466a616f3e
Merge pull request #2445 from FOCONIS/improve-testing
...
Improve testing, add DB2 Docker testing support to ebean-test
2021-12-01 09:35:45 +13:00
Rob Bygrave and GitHub
a0552387f8
Merge pull request #2446 from FOCONIS/fix-count-distinc-order-no-ordering
...
NPE Fix with .setCountDistinct(CountDistinctOrder.NO_ORDERING)
2021-12-01 09:28:54 +13:00
Noemi Szemenyei
25bc0e947d
NPE Fix with .setCountDistinct(CountDistinctOrder.NO_ORDERING)
2021-11-30 10:21:34 +01:00
Jonas Pöhler
c67e66c0ca
Merge remote-tracking branch 'ebean/master' into pr/enh/stored_procedures_mysql_drop_column
2021-11-26 15:58:50 +01:00
Jonas Pöhler
b60f9201a9
FIX: MysqlGenerateMigrationTest now clears pendingDrops System-Property
2021-11-26 15:58:20 +01:00
Roland Praml
f8253a1252
add ebean-test properties for various containers and adjusted documentation
2021-11-26 15:32:11 +01:00
Roland Praml
2581d82cff
FIX: Sqlite does not support ResultSetConcurrencyModeUpdatable
2021-11-26 15:02:46 +01:00
Roland Praml
331ea90e14
Fix: Support conversion of varchar[](300) array type for Clickhouse
2021-11-26 15:02:01 +01:00
Roland Praml
dfb1d6ab54
ADD: Db2 container support
2021-11-26 15:01:15 +01:00
Roland Praml
067f4bfdea
ADD JDBC-drivers to POM
2021-11-26 14:55:28 +01:00
Rob Bygrave
0a71ad624e
[maven-release-plugin] prepare for next development iteration
2021-11-26 21:57:10 +13:00
Rob Bygrave
09115a824d
[maven-release-plugin] prepare release ebean-parent-12.13.1
2021-11-26 21:57:04 +13:00
Rob Bygrave
28d4d07966
test config only, stop dumping metrics on jvm shutdown
2021-11-26 21:52:40 +13:00
Rob Bygrave
c3e91fed65
Tidy TestElementCollectionBasicSet only
2021-11-26 21:33:26 +13:00
Rob Bygrave
2cad98ad26
Move DetermineManyType into io.ebeaninternal.server.deploy.parse
...
This allows it to be package private
2021-11-26 21:25:54 +13:00
Rob Bygrave
8a25a7b6ec
#2444 - exists and findCount queries produce NPE on entity defined with IdClass - SqlTreeProperties.add(SqlTreeProperties.java:38)
2021-11-26 21:10:31 +13:00
Rob Bygrave
83fbfd1b2a
No effective change - tidy inline for ImportedIdEmbedded, ImportedIdSimple
2021-11-26 20:54:28 +13:00
Rob Bygrave
a9c6cd15a1
#2433 - Postgres JSONB dirty checking - trim json
2021-11-26 16:39:09 +13:00
Rob Bygrave
63b9b42dc8
#2433 - Postgres JSONB dirty checking - trim json
2021-11-26 16:34:15 +13:00
Rob Bygrave
268146df85
Tidy up TypeManager API after #2435
2021-11-26 14:55:16 +13:00
Rob Bygrave
d05a77e755
reset test datasource back to h2
2021-11-26 14:48:45 +13:00
Rob Bygrave
69c768b3be
Merge branch 'majkiw-master'
2021-11-26 14:46:42 +13:00
Rob Bygrave
07f9bf98c3
#2436 - SQL Update doesn't handle named parameters for array types in Postgres
2021-11-26 14:46:06 +13:00
Rob Bygrave
9af64f61f7
#2435 - Fix DBArray is not loaded in asDto Postgres queries
2021-11-26 14:32:47 +13:00
Rob Bygrave
c1a78d3c8b
Merge branch 'master' of https://github.com/majkiw/ebean into majkiw-master
2021-11-25 18:53:28 +13:00
Rob Bygrave
08fc7399ec
Tidy DefaultTypeManager with enhanced for
2021-11-25 18:30:00 +13:00
Rob Bygrave
86d805c9fa
Tidy internals only for OrmQueryRequest after merge of #2442
2021-11-22 15:21:03 +13:00
Rob Bygrave and GitHub
34135360ed
Merge pull request #2442 from FOCONIS/findmap-with-beancache-without-mapkey
...
findMap() with beanCache should use idPoperty if mapKey = null
2021-11-22 15:15:07 +13:00
Rob Bygrave
53b4d6fd73
Merge branch 'FOCONIS-assume-infoInherit-infoType-without-children'
2021-11-22 15:12:29 +13:00
Rob Bygrave
1114ccfb3a
#2441 Flatten and re-order if block in AssocOneHelpRefInherit when determining BeanDescriptor
2021-11-22 15:12:18 +13:00
Rob Bygrave
b4403c58d1
Merge branch 'assume-infoInherit-infoType-without-children' of https://github.com/FOCONIS/ebean into FOCONIS-assume-infoInherit-infoType-without-children
2021-11-22 15:06:34 +13:00
Rob Bygrave
951903db76
Merge branch 'FOCONIS-json-deserialize-references'
2021-11-22 15:00:14 +13:00
Rob Bygrave
093d111524
#2440 - Re-use existing referenceIdPropertyOnly() method
2021-11-22 14:59:40 +13:00
Rob Bygrave
08e166a9b7
Merge branch 'json-deserialize-references' of https://github.com/FOCONIS/ebean into FOCONIS-json-deserialize-references
2021-11-22 14:51:21 +13:00
Rob Bygrave
d5fe7a9ebe
Whitespace format only - OrmQueryPropertiesParser
2021-11-22 10:23:27 +13:00
Rob Bygrave and GitHub
9f52856343
Merge pull request #2439 from FOCONIS/path-properties-query-with-all-props
...
Path properties query with all props
2021-11-22 09:15:08 +13:00
Rob Bygrave and GitHub
0b529603c4
Merge pull request #2438 from FOCONIS/type-get-all-for-repeated-annotations
...
FIX: typeGetAll did not work with repeated annotations on one class
2021-11-22 09:01:06 +13:00
Noemi Szemenyei
60d0a3da39
findMap() with beanCache should use idPoperty if mapKey = null
2021-11-19 11:53:37 +01:00
Noemi Szemenyei
1c224444c0
Assume InfoInherit infoType when it has no children
2021-11-16 13:44:53 +01:00
Jonas Pöhler and Noemi Szemenyei
d3e07defa0
FIX: Json deserialize references
2021-11-16 11:57:30 +01:00
Noemi Szemenyei
1b5d379ed3
Fix for Query with PathProperties (*,x(y))
2021-11-16 11:45:18 +01:00
Noemi Szemenyei
b90393a691
Unittest for select Query with (*,x(y))
2021-11-16 11:39:14 +01:00
Jonas Pöhler and Noemi Szemenyei
2d26740286
FIX: typeGetAll did not work with repeated annotations on one class
2021-11-16 11:24:22 +01:00
Rob Bygrave
5807874c9e
[maven-release-plugin] prepare for next development iteration
2021-11-04 11:19:32 +13:00
Rob Bygrave
ea7b4e8162
[maven-release-plugin] prepare release ebean-parent-12.13.0
2021-11-04 11:19:25 +13:00
Rob Bygrave
43742fdc0b
Bump version to 12.13.0-SNAPSHOT
2021-11-04 11:16:50 +13:00
Rob Bygrave
8ef71bd451
Bump version to 12.13.0-SNAPSHOT
2021-11-04 11:02:45 +13:00
Rob Bygrave
0f60e2240c
Bump version to 12.13.0-SNAPSHOT
2021-11-04 10:57:48 +13:00
Rob Bygrave
2cbb161ed5
Follow up to #2437 - Rename internal "dead/alive" to "replaced"
2021-11-04 10:40:04 +13:00
Rob Bygrave and GitHub
a47caec85b
Merge pull request #2437 from FOCONIS/fix-persistence-context
...
FIX: Subsequent findEach / findList does not work reliable [Fixes regression in 12.3.3]
2021-11-04 09:59:31 +13:00
Roland Praml
fd1b5f58bc
FIX: Subsequent findEach / findList does not work reliable (Regression of #2411 )
2021-11-03 11:34:04 +01:00
Michal Wysocki
39a4035f3b
Extra assertions for DBArray in asDTO and sqlUpdate
2021-11-02 13:25:42 +01:00
Rob Bygrave
0bb7d79015
Tidy build.yml
2021-10-28 22:40:10 +13:00
Rob Bygrave and GitHub
9907cffe6e
Update README.md
2021-10-28 22:38:48 +13:00
Rob Bygrave
704a138ff0
Tidy build.yml and TestExtraScalarTypes
2021-10-28 22:34:55 +13:00
Rob Bygrave
f3cab4ee10
Merge branch 'master' of github.com:ebean-orm/ebean
2021-10-28 22:33:48 +13:00
Rob Bygrave
d507452d63
Fix test TestExtraScalarTypes for github workflows build
2021-10-28 22:33:28 +13:00
Rob Bygrave and GitHub
893aa6cb1a
Update build.yml
2021-10-28 22:26:13 +13:00
Rob Bygrave and GitHub
e92fd2ef06
Add github workflows build.yml
2021-10-28 22:19:24 +13:00
Rob Bygrave and GitHub
bdad8b258a
Merge pull request #2427 from FOCONIS/bug-reload-fails-on-partial-beans
...
FIX: When a bean is modified in persistence context and searched again, it will loose the change
2021-10-22 16:17:31 +13:00
Rob Bygrave
a6cdf8d6dc
Turn off nexus.staging.autoReleaseAfterClose
2021-10-22 10:52:16 +13:00
Rob Bygrave
e232c724c0
maven.deploy.skip test modules and fix agent versions
2021-10-22 10:49:57 +13:00
Roland Praml
d55023dbc7
FIX: When a bean is modified in persistence context and searched again, it will loose the change
2021-10-21 16:50:53 +02:00
Rob Bygrave
fa4e013692
[maven-release-plugin] prepare for next development iteration
2021-10-21 21:36:29 +13:00
Rob Bygrave
08502d7315
[maven-release-plugin] prepare release ebean-parent-12.12.3
2021-10-21 21:36:21 +13:00
Rob Bygrave
6f4bc0ac2c
Prepare release, comment out extra test modules
2021-10-21 21:33:16 +13:00
Rob Bygrave
5585866e82
Prepare release, comment out extra test modules
2021-10-21 14:07:27 +13:00
Rob Bygrave
f21f6d9592
Prepare release, comment out extra test modules
2021-10-21 13:54:39 +13:00
Rob Bygrave
03e0519951
Refactor tidy internals for DefaultServer, rename descriptorManager
2021-10-21 13:41:58 +13:00
Rob Bygrave
bc23d5829c
Refactor tidy internals for DefaultPersister, BeanDescriptorManager etc
2021-10-21 13:30:32 +13:00
Rob Bygrave
64108aac40
#2424 Preserve using PersistenceException when transaction register(Callback) called with no active transaction
2021-10-21 12:12:02 +13:00
Rob Bygrave
fcda419abb
#2424 Preserve using PersistenceException when transaction register(Callback) called with no active transaction
2021-10-21 12:06:45 +13:00
Rob Bygrave
4d34c9e868
#2424 Change error for transaction register(Callback) when no active transaction from PersistenceException to NullPointerException
...
Ah ok, so in being more strict on null for currentTransaction() that shows up the code that registers transaction callbacks as checking for null and throwing PersistenceException. This is inconsistent with LOTS of other methods that use currentTransaction() and would result in NPE.
The concept here is that PersistenceException for this case isn't better than NPE and NPE is actually more consistence wrt using currentTransaction().
2021-10-21 12:02:42 +13:00
Rob Bygrave
5178b76431
Update internals migrate from deprecated methods baseTable()
2021-10-20 20:07:54 +13:00
Rob Bygrave
8fb02662e6
#2423 Add @Nullable on single bean publish and restore by id
2021-10-20 20:06:59 +13:00
Rob Bygrave
1aac63771d
#2423 Tidy up DefaultServer internals getting descriptor
2021-10-20 19:58:11 +13:00
Rob Bygrave
3a138c3462
Tidy internals only - improve DefaultServer parameter names
2021-10-20 16:07:43 +13:00
Rob Bygrave
30088f4de7
#2423 Tidy up DefaultServer internals with Objects.requireNonNull()
2021-10-20 15:53:50 +13:00
Rob Bygrave and GitHub
cc272bb950
Merge pull request #2423 from ebean-orm/feature/nonNullApi
...
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:47:44 +13:00
Rob Bygrave
b3ee982b64
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:45:20 +13:00
Rob Bygrave
92a13ad265
Remove pom releaseBackup files that should not be there
2021-10-20 09:52:06 +13:00
Rob Bygrave
a445557ec3
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:59:25 +13:00
Rob Bygrave
c7bb027c7d
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:33:23 +13:00
Rob Bygrave
709eb369c9
#2419 - Add explicit @Nullable on findOne() methods
2021-10-19 12:12:11 +13:00
Rob Bygrave
5a4924b6cb
#2421 - Change database.diff() to return empty map rather than null with null bean argument
2021-10-19 11:58:29 +13:00
Rob Bygrave
a61c73c62a
#2418 #2420 BeanState.loadErrors() returns empty map
...
Change Database.beanState() to throw IllegalArgumentException when bean isn't an entity bean
2021-10-19 11:52:36 +13:00
Rob Bygrave
7862648b83
#2419 - Add explicit @Nullable on findOne() methods
2021-10-19 11:50:22 +13:00
Rob Bygrave
fa252a1fe4
Javadoc for #2303 - bump to pgjdbc 42.3.0
2021-10-19 11:23:26 +13:00
Rob Bygrave
add7a8c4ba
Javadoc for #2303 - bump to pgjdbc 42.2.25
...
Noting that this version of pgjdbc has not been released yet. Guessing that this is the next release number.
2021-10-14 14:49:15 +13:00
Rob Bygrave
834c04bd33
Update Postgres test dependency only ( #2303 )
2021-10-13 09:45:00 +13:00
Rob Bygrave
9bda4ab5c7
#2303 - Add javadoc for notes on Postgres with "allQuotedIdentifiers = true"
2021-10-13 09:37:40 +13:00
Rob Bygrave
d1ca7a30dc
Merge branch 'FOCONIS-tidy-remove-readjson-resetContext'
2021-10-12 15:11:35 +13:00
Rob Bygrave
cb67dd0f29
Merge branch 'tidy-remove-readjson-resetContext' of https://github.com/FOCONIS/ebean into FOCONIS-tidy-remove-readjson-resetContext
2021-10-12 15:11:23 +13:00
Rob Bygrave
e173f6e9a9
Tidy only DefaultPersistenceContext after merge of #2411
2021-10-12 15:10:36 +13:00
Rob Bygrave and GitHub
349cd01921
Merge pull request #2411 from ebean-orm/feature/weak-reference-persistence-context
...
Weak reference based persistence context for streaming queries
2021-10-12 14:39:47 +13:00
Rob Bygrave and GitHub
8fa7fa6af3
Merge pull request #2413 from FOCONIS/feature/weak-reference-persistence-context
...
Change DefaultPersistenceContect to use beginIterate / endIterate
2021-10-12 14:34:05 +13:00
Rob Bygrave
caf18565a0
[maven-release-plugin] prepare for next development iteration
2021-10-12 12:46:15 +13:00
Rob Bygrave
c89d39ec2d
[maven-release-plugin] prepare release ebean-parent-12.12.2
2021-10-12 12:46:08 +13:00
Rob Bygrave
556557276c
Bump ebean-agent version
2021-10-12 12:38:08 +13:00
Roland Praml
2f277938e5
Remove LoadContext.resetPersistenceContext
2021-10-11 17:48:09 +02:00
Roland Praml
5322ab3e7e
Remove: ReadJson.resetContext as it is not used
2021-10-11 17:22:33 +02:00
Roland Praml
100832ddd9
Changed test to test pc.beginIterate / endIterate
2021-10-11 17:16:34 +02:00
Roland Praml
3f5009aa91
Use WeakReferences when in iterate query mode
2021-10-11 16:25:21 +02:00
Roland Praml
8dbd290119
Remove: ReadJson.resetContext as it is not used
2021-10-11 13:40:03 +02:00
Rob Bygrave
ea3fb833a4
Weak reference based PersistenceContext for streaming queries
2021-10-11 22:48:18 +13:00
Rob Bygrave
0273e1c2c8
Modify test TestUpdate to ensure basic test data is loaded first
2021-10-11 12:13:02 +13:00
Rob Bygrave
8440a13b0f
Refactor rename internal method DefaultPersistenceContext.classContext()
2021-10-11 11:36:38 +13:00
Rob Bygrave
c5e940733c
#2408 Followup refactor BindParamsParser extract methods
2021-10-11 11:21:28 +13:00
Rob Bygrave and GitHub
ac73031bec
Merge pull request #2408 from FOCONIS/pr/bugfix/reuse_update_collection_parameters
...
Fix reuse of io.ebean.Update when using setParameter with Collection
2021-10-11 11:01:23 +13:00
Rob Bygrave
a65ff8a650
Tidy test only - TestOneToManyCorrectGrouping
2021-10-08 12:55:50 +13:00
Rob Bygrave
f904fea104
Tidy, remove unnecessary --add-opens test clause for eban-querybean testing
2021-10-08 12:55:22 +13:00
Rob Bygrave
2549eace09
#2406 - Memory leak in Query.findEach
2021-10-08 11:20:54 +13:00
Jonas Pöhler
a592717c77
Merge remote-tracking branch 'ebean/master' into pr/bugfix/reuse_update_collection_parameters
2021-10-06 11:57:50 +02:00
Jonas Pöhler
db6f93e383
FIX: Reuse of io.ebean.Update with collection parameters did not work correctly
2021-10-06 11:57:09 +02:00
Rob Bygrave
0a0d67585c
[maven-release-plugin] prepare for next development iteration
2021-10-05 10:50:00 +13:00
Jonas Pöhler
3fe521c53a
Merge remote-tracking branch 'ebean/master' into pr/enh/stored_procedures_mysql_drop_column
2021-09-29 16:13:49 +02:00
Jonas Pöhler
091b5fbf26
Optionally allow use of stored procedures for MySql to drop columns in db migration
2021-09-27 17:08:22 +02:00