rob bygrave
3eaf47fd70
No effective change - add additional tests
2018-10-15 22:25:38 +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
2839434773
#1506 - @ElementCollection DDL generates 2 indexes on the same column
2018-10-13 00:23:44 +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
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
da95ec0c05
#1501 - Change logging for io.ebeaninternal.dbmigration.DefaultDbMigration to "io.ebean.GenerateMigration"
2018-10-05 11:26:42 +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
dcde47daf6
Merge branch 'master' of github.com:ebean-orm/ebean
2018-09-28 16:34:08 +12:00
rob bygrave
57056d7abd
#1496 - Query label lost for findId()
2018-09-28 16:33:54 +12:00
Rob Bygrave
9734ae5787
#1490 - FIX: withQuote_when_match for different platforms
2018-09-26 21:33:27 +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
a83a4fa1c4
FIX: check platform on multiple annotations like '@Formula(platform=...)' ( #1495 )
2018-09-26 20:55:39 +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
7e995efb62
Add methods th the plugin API to access type and inheritance information ( #1491 )
2018-09-26 20:48:19 +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
0e75c50be5
#1487 - @OneToOne Postgres with different Id types - error PSQLException: ERROR: operator does not exist: uuid = character varying
...
Fix
2018-09-24 22:30:45 +12:00
Roland Praml and Rob Bygrave
66703a3a29
FIX: recursive BatchedPstmtHolder.flush, when BeanPersistController or ChangeLogFilter hit the database ( #1486 )
2018-09-21 15:38:21 +12:00
Roland Praml and Rob Bygrave
56e65d7463
Fix issue in UUID-v1 generator on AWS Beanstalk ( #1485 )
2018-09-21 15:35:53 +12:00
Roland Praml and Rob Bygrave
eb7277aa13
Wrong behaviour in BeanMap.put/putAll ( #1484 )
2018-09-21 15:35:01 +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
0e7dc4209c
#1482 - Improve error message for incorrect mapping - @JoinColumn without @ManyToOne etc
2018-09-20 21:09:01 +12:00
Roland Praml and Rob Bygrave
72845acbad
FIX: JunctionExpression.notExists ( #1481 )
2018-09-20 20:24:33 +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
55a9ba7170
#1475 - @OneToOne child with @SoftDelete that is deleted is still loaded by parent
2018-08-27 21:35:00 +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
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
6d1e3a08e1
#1470 - Change OnQueryOnly to default to OnQueryOnly.COMMIT
2018-08-13 21:59:33 +12:00
rob bygrave
94e6fe90e5
No effective change - white space format
2018-08-13 21:54:19 +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 and GitHub
afb7679302
#1468 - ENH: Add built-in DDL generation for Postgres table partitioning (by day, week, month and year) ( #1469 )
2018-08-10 14:52:42 +12:00
rob bygrave
db35f0f5ed
#1466 - With ebean.dbSchema property (aka default db schema) we should not connection.setSchema() when running migrations
2018-08-09 21:34:23 +12:00
Rob Bygrave and GitHub
ded7d44974
Add support for Postgres range partition DDL plus refactor xsd definitions that had got out of sync ( #1465 )
...
* Add partition meta mapping
* Fix to allow schema prefix on select dynamic formula
* Add partition meta mapping
* Migration XSD Update
* Fix to allow schema prefix on select dynamic formula
* Bump ebean-migration to 11.8.1
2018-08-08 23:29:29 +12:00
rob bygrave
75395a8481
#1464 - NPE in PropertiesWrapper.internalGet(PropertiesWrapper.java:74) running multi-platform DB migration generation with ServerConfig that has no properties
...
Note that newPlatformConfig() is only used for multi-platform DB migration generation.
2018-08-07 11:55:06 +12:00
rob bygrave
a161d0c01b
#1463 - NPE in MigrationModel.readMigrations() when running using File resources with no migration directory
2018-08-07 11:36:26 +12:00
rob bygrave
1dd7720605
#1462 - DB Migration generation with Postgis types gives us non-strict geometry column DDL
2018-08-07 11:19:09 +12:00
rob bygrave
d4be0718a8
#1460 - ENH: Add FetchGroup ... as a mechanism to specify select() + fetch() separately from Query
...
Change to add generics for FetchGroup
2018-08-06 21:30:36 +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
Roland Praml and Rob Bygrave
5c99986476
Migration with procedures ( #1451 )
...
DB Migration with helper stored procedures (for MySql and SQL Server)
2018-07-18 22:21:47 +12:00