Rob Bygrave
20f6a659fe
#2959 - Improve logging for lazy loading error due to "markAsDeleted"
2023-02-07 19:59:33 +13:00
Jonas Pöhler
2633cd6bfe
FIX: drop foreign keys before dropping tables
2023-01-13 15:35:54 +01:00
Jonas Pöhler
2c81d0df03
ADD: failing testcase for dropping two or more related, but otherwise unreferenced tables
2023-01-13 15:14:35 +01:00
Rob Bygrave
9a25fb584c
#2855 - @DbArray not allowing null to be persisted, stores empty list instead
...
Currently, this bug fix needs to be enabled explicitly via ebean.mf with:
allow-nullable-dbarray: true
We will look to enable this bug fix by default shortly noting that some code
will see a behaviour change. We need to publicise it well when we do turn
this on by default.
This bug fix is actually in ebean-agent 13.10.0 and all this change in ebean-core
does is read the new `@DbArray(nullable=false)` attribute [as a new alternative to
using `@NotNull` or `@Column(nullable=false)`]
2022-10-14 11:14:12 +13:00
Noemi Praml
13622f6b62
migrations scripts
2022-09-02 13:27:11 +02:00
Rob Bygrave
216c43eea6
Extract CsvReader into separate ebean-csv-reader module
2022-08-25 17:25:49 +12:00
Rob Bygrave
51d2f52d19
#2782 - Support MariaDB jdbc driver update - Batched JDBC SQLException translation, SqlRow BLOB reading
...
- Batched JDBC SQLException translation - Need to dig into nested exception to get cause error state
- SqlRow BLOB reading - BLOB can come as LONGVARBINARY (TestRawSqlBuilder)
- Fix test for history using system time (TestHistoryInsert)
- Fix SqlQueryCancelTest
- Fix TestSqlUpdateExceptions
2022-08-17 17:25:28 +12:00
Rob Bygrave
4523db85c3
Fix for generated migration index files in test
2022-08-12 15:54:09 +12:00
Rob Bygrave
4cc012b974
Bump to 13.7.1-SNAPSHOT
2022-08-09 14:26:04 +12:00
Rob Bygrave
892e7bc84a
Update test migration output due to remove of - NOTE: table has @History #2764
...
-- NOTE: table has @History - special migration may be necessary
2022-07-29 16:47:42 +12:00
Rob Bygrave
110bc614e4
#2743 - Postgres DDL - For create table, improve column ordering for tighter storage
2022-07-07 13:45:06 +12:00
Rob Bygrave
c40ca2fad7
Bump agent to 13.6.4 (no effective change)
2022-06-14 16:09:13 +12:00
Rob Bygrave
162b3449e8
Put ebean.properties back to default to h2
2022-06-14 15:03:35 +12:00
Rob Bygrave
583c5f74eb
Support Postgres JSONB/JSON with String - @DbJsonb String content;
2022-06-14 14:57:50 +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
f9943f14b7
Adjust test ebean.properties
2022-04-28 10:32:27 +12: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
e71e16c1ee
Refactor extract separate modules for each platform from ebean-api dbplatform
2022-03-30 17:11:36 +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
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
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
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
0d765d6583
Reference scripts
2022-03-21 15:02:06 +01:00
Roland Praml
04d2a20945
Add testcase, that uses all kinds of reserved keywords
2022-03-21 13:48:48 +01:00
Roland Praml
327babbfa2
Reference scripts
2022-03-21 11:08:54 +01:00
Roland Praml
d7a7ef097b
Reference scripts
2022-03-17 13:14:11 +01:00
Roland Praml
37ab71cb7c
Reference scripts
2022-03-17 13:03:55 +01:00
Roland Praml
be3e08018e
Reference Scripts
2022-03-15 15:59:50 +01: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
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
Roland Praml
89da952b15
updated scripts
2022-03-11 15:35:15 +01:00
Roland Praml
e4ddcbd40a
Reference scripts
2022-03-10 13:39:59 +01:00
Roland Praml
f1b196cf2e
FIX: tests and pushed reference ddl scripts
2022-03-10 13:24:39 +01:00
Roland Praml
5fd7aca3d9
Fixed test cases
2022-03-09 16:17:04 +01: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