rob bygrave
ffa8268125
#1405 - ENH: Add SqlQuery.findSingleAttribute() ... for returning single scalar values via SqlQuery
2018-06-07 22:17:01 +12:00
rob bygrave
eba1003c19
#1404 - Query.findCount() with query.setDistinct(true) ... doesn't give count distinct SQL query
2018-06-07 00:32:39 +12:00
rob bygrave
2817875706
#1402 - Refactor SQL Logging internals (io.ebean.SQL) such that it is easier to capture for testing/asserts
2018-06-01 14:15:05 +12:00
rob bygrave
3f8d705439
#1402 - Refactor SQL Logging internals (io.ebean.SQL) such that it is easier to capture for testing/asserts
2018-06-01 14:10:00 +12:00
rob bygrave
e9faef2692
#1401 - FOR UPDATE queries inside a transaction are not honored when beans are already cached (in the persistence context)
2018-06-01 11:33:41 +12:00
rob bygrave
d459807af7
#1402 - Refactor SQL Logging internals (io.ebean.SQL) such that it is easier to capture for testing/asserts
2018-06-01 09:19:26 +12:00
ooknight and Rob Bygrave
10ad9ef096
beautify bindNoLog format ( #1399 )
2018-05-31 20:23:52 +12:00
rob bygrave
11e3649b85
#1398 - Support EQ / "Equal to" predicate on client side encrypted entity property - @Encrypted(dbEncryption = false)
2018-05-31 16:02:49 +12:00
rob bygrave
ddc00fedb6
#1397 - @DbForeignKey(noConstraint = true) is ignored on @ManyToMany ... foreign constraints still added
2018-05-31 10:55:58 +12:00
rob bygrave
c23508819f
#1396 merge() with ManyToMany throwing error Referential integrity constraint violation
2018-05-30 03:32:00 +12:00
rob bygrave
af030e3da4
#1394 #1395 - ENH: Add addBatch() and executeBatch() to SqlUpdate ... alternative to changing transaction batch mode enhancement
...
ENH: Add merge() API (using default merge options) to EbeanServer, Ebean and BeanRepository enhancement
2018-05-30 03:31:32 +12:00
rob bygrave
d8e67d09a9
#1393 - MergeOptionsBuilder build() return MergeOptions interface type
2018-05-29 15:30:39 +12:00
rob bygrave
66c08e663e
#1392 - MergeHandler, change regex Pattern to be static
2018-05-29 15:25:38 +12:00
rob bygrave
9a096e272e
#1392 - MergeOptionsBuilder setClientGeneratedIds() ... should not be required if the Id property does not have Identity/Sequence generator assigned
2018-05-29 15:24:32 +12:00
Roland Praml
c5329e9db0
reformatting
2018-05-28 17:05:52 +02:00
chrishartl and Roland Praml
bccb9f8ddb
Fix/create reference with descriptor using inheritance ( #13 )
...
* FIXED: Discriminator must be ask for inherited classes
* Fixed: Compile
* Refactoring and Testing
2018-05-28 16:54:53 +02:00
rob bygrave
896f7d9ea8
No effective change - improve error message when entity not registered to include entity annotation question
2018-05-29 00:38:41 +12:00
rob bygrave
141a0d9358
#1390 - ENH: Support explicit @Id @GeneratedValue ... mapping (where absence of @GeneratedValue means externally supplied id values)
2018-05-29 00:35:31 +12:00
Roland Praml and Rob Bygrave
5a7f24da5d
FIX: jsonRead of transient maps ( #1389 )
...
FIX: jsonRead of transient maps - to skip the read of start_array - Avoid error "Unexpected token start_object - expecting start_array "
2018-05-28 23:06:45 +12:00
rob bygrave
bbd7baf1be
#1388 - AutoTune - tuned query includes "null" as fetched property
2018-05-27 17:33:26 +12:00
rob bygrave
2e36402a76
#1387 - Revert #1374 and expose io.ebean.event.ServletContextListener (as public API)
2018-05-27 15:54:32 +12:00
rob bygrave
fa4af4ef98
Revert " #1374 - Remove io.ebeaninternal.server.core.ServletContextListener - should be unused"
...
This reverts commit 95737cd3c5 .
2018-05-27 15:41:51 +12:00
rob bygrave
ed6a9e2dbb
#1386 - ENH: For DbMigration generation - add support for setting version, name, generatePendingDrop, applyPrefix, ddl header
2018-05-27 15:37:45 +12:00
rob bygrave
42d83705b7
#1384 - Change MigrationXmlWriter to not write <!DOCTYPE xml> (as it is not needed/expected now)
2018-05-24 00:15:25 +12:00
rob bygrave
4b91f5fe0b
#1380 - Make javax.xml an optional dependency (as it is not part of JDK from 9 onwards)
2018-05-21 01:06:26 +12:00
rob bygrave
85d3caf079
#1367 - Modularized project cannot locate ebean.properties file on Java 10
2018-05-21 00:29:04 +12:00
Roland Praml and Rob Bygrave
41a31c1aa0
trigger based history will recreate view properly and handle default … ( #1370 )
...
* trigger based history will recreate view properly and handle default value also for history view
* HistoryTriggers are generated at the end
* Reference Script
* MYSQL: lock all tables at once
2018-05-20 17:19:10 +12:00
Roland Praml and Rob Bygrave
ab301f970c
FIX: correct caching when collection with different inherited beans is put to the cache ( #1379 )
...
* FIX: correct cahcing when collection with different inherited beans is put to the cache
* removed some sysouts
2018-05-20 16:53:56 +12:00
rob bygrave
cb0dee998b
#1375 - Bug: RawSql parsing fails when using placeholders
2018-05-17 12:48:08 +12:00
Roland Praml and Rob Bygrave
53b606289d
FIX: use LinkedHashMap in enum types to get deterministic ordering ( #1378 )
2018-05-17 12:26:37 +12:00
rob bygrave
9dc5ca602c
#1372 - Missing @OneToOne mapping yields unusable error messages.
2018-05-14 21:32:48 +12:00
rob bygrave
95737cd3c5
#1374 - Remove io.ebeaninternal.server.core.ServletContextListener - should be unused
2018-05-14 21:23:13 +12:00
Roland Praml and Rob Bygrave
0a49fc9b62
FIX: NPE when fetching inherited beans from cache ( #1373 )
2018-05-14 21:12:42 +12:00
rob bygrave
cfaedcdbc5
#1371 - Regression in 11.15.5 with @Inheritance on abstract class with discriminatorType = INTEGER
2018-05-10 17:20:09 +12:00
rob bygrave
33031d1c69
#1369 - BeanListener and/or BeanPersistAdapter not fired on delete of children when cascaded
2018-05-06 20:21:10 +12:00
Roland Praml and Rob Bygrave
49d9d88fbe
FIX: load all props from cache when inheritance is involved ( #1366 )
2018-04-27 14:44:18 +12:00
Rob Bygrave
756f867ed2
#1365 - Regression: property ebean.namingConvention=io.ebean.config.MatchingNamingConvention ... no longer works
2018-04-18 21:24:37 +12:00
André Camilo and Rob Bygrave
a8434f22ff
Inheritance - Add support for @DiscriminatorValue to be optional ( #1361 )
2018-04-12 20:38:09 +12:00
rob bygrave
dd6f223ae1
#1360 - ENH: Add transaction.setNestedUseSavepoint() ... such that nested transactions are actually Savepoints
2018-04-05 21:35:29 +12:00
Rob Bygrave
b8c4e1c3d3
#1357 - Regression in 11.15.2 - for nested Ebean.beginTransaction(TxScope.requiresNew()); ... where closed via ebeanServer.endTransaction(); rather than transaction.end()
2018-03-29 10:22:12 +13:00
Rob Bygrave
acd5578d8a
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add element collection L2 cache support
2018-03-29 01:15:58 +13:00
Rob Bygrave
07946cd505
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add element collection notification - combine into preUpdate/postUpdate of the bean
2018-03-28 17:31:53 +13:00
Rob Bygrave
57870aaa05
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add embedded bean support
2018-03-28 13:22:46 +13:00
Rob Bygrave
cca837bcfa
#1354 - ENH: Add SqlUpdate setNextParameter() ... as alternative for positioned parameters
2018-03-28 00:45:12 +13:00
Rob Bygrave
534eb2f0e2
#1354 - ENH: Add SqlUpdate setNextParameter() ... as alternative for positioned parameters
2018-03-27 23:24:30 +13:00
Rob Bygrave
dfa7b765f9
#1354 - ENH: Add SqlUpdate setNextParameter() ... as alternative for positioned parameters
2018-03-27 22:58:19 +13:00
Rob Bygrave
abbcd35ee6
#1353 - Use of ebeanServer.commitTransaction() in nested transaction doesn't match transction.commit() and closes parent scope
2018-03-27 09:14:45 +13:00
Rob Bygrave
74e0a16531
#1351 - ENH: Add named DtoQuery
...
Merge branch 'feature/namedDtoQuery' of https://github.com/hexagonframework/ebean into hexagonframework-feature/namedDtoQuery
2018-03-26 20:45:39 +13:00
Rob Bygrave
8601f51a6c
#1351 - ENH: Add named DtoQuery
...
Merge branch 'feature/namedDtoQuery' of https://github.com/hexagonframework/ebean into hexagonframework-feature/namedDtoQuery
2018-03-26 20:45:22 +13:00
Rob Bygrave
6534feb5da
#1350 - ENH: Add mappingsLocation config to search xml mapping files.
...
Minor adjustments - read "mappingLocations" only etc.
2018-03-26 16:55:25 +13:00