Roland Praml and Rob Bygrave
939397acfc
Add support for JacksonAnnotations at bean-properties ( #1514 )
2018-10-25 22:11:36 +13:00
Roland Praml and Rob Bygrave
fecb5fa731
There should be only one "Rob" in o_customer ( #1515 )
...
* FIX: CsvReader-Test
* Fixes for tests
* reversed changes
* tidy TestCsvReaderWithCallback
2018-10-25 10:35:02 +13:00
rob bygrave
c1a479e1f4
#1512 - Invalid SQL with Postgres + order by nulls first/last + where() expression on ManyToMany
2018-10-24 23:26:19 +13:00
rob bygrave
156469ae0f
Update tests for running MySql
2018-10-24 22:59:48 +13:00
rob bygrave
1d1d479dda
Fix concat_expectString test with explicit cast to string
2018-10-24 22:17:44 +13:00
Jonathan Bregler and Rob Bygrave
158ee9a081
Add SAP HANA support ( #1511 )
2018-10-24 21:38:17 +13:00
rob bygrave
29aa395cd4
#1509 - DBMigration add ... List<String> getPendingDrops();
2018-10-19 16:24:06 +13:00
rob bygrave
8160d1f01c
#1508 - Invalid SQL used to fetch identity value for @Draftable with database platform that uses Identity but not getGeneratedKeys
2018-10-19 15:56:39 +13:00
rob bygrave
2646e8c27f
#1507 - SqlUpdate.execute PersistenceException is not translated into more specific exception (like DuplicateKeyException)
...
Support for sqlUpdate.executeBatch()
2018-10-15 22:30:42 +13:00
rob bygrave
3eaf47fd70
No effective change - add additional tests
2018-10-15 22:25:38 +13:00
rob bygrave
9d64352771
No effective change - add additional tests
2018-10-15 22:13:18 +13:00
rob bygrave
aa7325b249
#1507 - SqlUpdate.execute PersistenceException is not translated into more specific exception (like DuplicateKeyException)
2018-10-15 22:12:39 +13:00
rob bygrave
de9823b69b
#1505 - Unidirectional @OneToOne orphanRemoval=true ... does not delete orphan that is replaced
2018-10-12 22:30:06 +13:00
rob bygrave
15cab24848
#1504 - ENH: Add SqlUpdate executeNow() method ... that executes now regardless of transaction batch mode
...
Add test for UpdateQuery (which executes immediately regardless)
2018-10-12 20:33:59 +13:00
rob bygrave
b87e360ac7
#1504 - ENH: Add SqlUpdate executeNow() method ... that executes now regardless of transaction batch mode
2018-10-12 18:49:20 +13:00
rob bygrave
54b5684628
#1502 - findNative build query to findPagedList, the query count is incorrect.
2018-10-05 12:22:25 +13:00
rob bygrave
fc26765a7e
#1499 - findNative with findIds (or findSingleAttributeList with id property) throws ArrayIndexOutOfBoundsException
2018-10-04 22:51:51 +13:00
rob bygrave
31093babe3
#1498 - findIds() with @SoftDelete bean returns all Ids (when soft deleted ones should not return)
...
And fix delete permanent that cascades
2018-10-04 20:49:30 +13:00
rob bygrave
f8b9ca2034
#1498 - findIds() with @SoftDelete bean returns all Ids (when soft deleted ones should not return)
2018-10-04 20:26:00 +13:00
rob bygrave
c27749ae2d
#1497 - SQL Error with @History + @SoftDelete + @OneToOne fetch=FetchType.EAGER
2018-10-04 19:59:36 +13:00
rob bygrave
2c04430185
No effective change - add testSoftDelete_includeSoftDeletes_findOne
2018-10-04 17:14:53 +13:00
Rob Bygrave
9734ae5787
#1490 - FIX: withQuote_when_match for different platforms
2018-09-26 21:33:27 +12:00
Roland Praml and Rob Bygrave
b817d5ee4d
FIX: withQuote_when:_match for different platforms ( #1490 )
2018-09-26 21:26:29 +12:00
Rob Bygrave
0036473971
#1489 - removed the concat-operator "||" and replaced with "concat()"
2018-09-26 21:23:14 +12:00
Roland Praml and Rob Bygrave
a020bb15a1
removed the concat-operator "||" and replaced with "concat()" ( #1489 )
...
* removed the concat-operator "||" and replaced with "concat()"
* using || in postgres
* FIX: Assert-statement
2018-09-26 21:19:28 +12:00
Rob Bygrave
efa86043bf
#1492 - Update for NEW: collation support for orderBy
2018-09-26 21:15:41 +12:00
Roland Praml and Rob Bygrave
eb1ea5ddd2
NEW: collation support for orderBy ( #1492 )
2018-09-26 20:57:33 +12:00
Roland Praml and Rob Bygrave
fe71c7cc4e
FIX: tableName detection for native statements on SQLServer ( #1494 )
2018-09-26 20:54:22 +12:00
Roland Praml and Rob Bygrave
5522d56e8d
ignored tests for sqlserver, because there is no nested transaction support, yet ( #1493 )
2018-09-26 20:48:49 +12:00
Roland Praml and Rob Bygrave
ef46bc86cc
Original Value and bean change was not computed correctly in changelog ( #1488 )
...
* Bug in Changelog: It takes the first non null value as oldValue and does not detect if oldValue == newValue
* CHANGE: EntityBeanIntercept uses bitflags instead of separate boolean arrays - new flag 'origValueSet' introduced - getDirtyValues checks, if values are really different.
2018-09-26 20:40:56 +12:00
rob bygrave
cd1cdb027f
#1487 - @OneToOne Postgres with different Id types - error PSQLException: ERROR: operator does not exist: uuid = character varying
...
Test
2018-09-24 22:30:28 +12:00
Rob Bygrave
42f9e74d91
#1483 - Invalid SQL with allQuotedIdentifiers true - where t0.[t0.[COND]] in (?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2018-09-20 23:12:26 +12:00
Rob Bygrave
bb164a0763
OneToOne inserts with idType=SEQUENCE will fail #1480
2018-09-20 21:32:48 +12:00
Rob Bygrave
3a50c264b1
No effective change - add test with softDelete on bean with history
2018-09-20 21:10:41 +12:00
Roland Praml and Rob Bygrave
29d88d7de8
FIX: NPE in StalarTypeLocalTime and StalarTypeMonthDay ( #1479 )
2018-09-20 20:23:46 +12:00
rob bygrave
7809858634
#1478 - MySql DDL, invalid comment included resulting in PersistenceException: Failed to run script
2018-08-31 21:54:48 +12:00
rob bygrave
55a9ba7170
#1475 - @OneToOne child with @SoftDelete that is deleted is still loaded by parent
2018-08-27 21:35:00 +12:00
rob bygrave
2df2224286
No effective change - add a new test for OneToOne with fetchType LAZY
2018-08-27 20:00:44 +12:00
rob bygrave
d11bb2c4e5
No effective change - add a new test for OneToMany orphanRemoval=true
2018-08-21 21:08:17 +12:00
rob bygrave
663b1bb4aa
#1474 - IllegalStateException: Table [some_table] does not exists in model? ... when applying drop table migration and table is no longer in the model
2018-08-21 20:45:31 +12:00
Snōwball and Rob Bygrave
f3d26e32ec
Possible fix error with multiple uses of enum ( #1473 )
...
When an enum is exists in the type cache and isn't String, @DbArray
fails. This includes a test that should fail everywhere (order of
reading fields isn't guaranteed afaik and the column needs to be read
before the @DbArray for the test to fail).
2018-08-21 20:26:08 +12:00
rob bygrave
29c5a17202
#1472 - Cascade insert with managed id ... results in update rather than insert statement
2018-08-15 23:12:06 +12:00
rob bygrave
340b100a1a
No effective change - Add test for OneToOne orphanRemoval=true and String Ids (non generated ids)
2018-08-14 22:09:01 +12:00
rob bygrave
80975acfbf
#1471 - Change stateless update on bean with no @Version property that updates 0 rows to throw EntityNotFoundException
2018-08-14 14:23:28 +12:00
rob bygrave
95dab97b1b
No effective change - adjust test adding @Draft property to @Draftable Document
2018-08-14 14:16:08 +12:00
Snōwball and Rob Bygrave
9bbe99657a
Let enum arrays be saved as integers or strings ( #1467 )
...
* Let enums be saved as integers or strings as needed
* Add tests for int and varchar @DbArray enums
2018-08-13 21:26:14 +12:00
rob bygrave
6d0556a120
#1460 - ENH: Add FetchGroup ... as a mechanism to specify select() + fetch() separately from Query
...
Change to add generics for FetchGroup
2018-08-02 23:18:44 +12:00
rob bygrave
ec7e4e4935
#1461 - @OneToMany with @JoinTable without table name does not default join table name
2018-08-02 22:25:48 +12:00
rob bygrave
471605619a
#1460 - ENH: Add FetchGroup ... as a mechanism to specify select() + fetch() separately from Query
2018-07-30 23:51:52 +12:00
rob bygrave
02fe956056
#1459 - findNative with join to a @OneToMany ... does not map properly
2018-07-27 12:31:56 +12:00