rob bygrave
91c4eca528
#1419 - Refactor - saveAll() and deleteAll() ... when collections are empty skip transaction init check
2018-06-12 22:08:17 +12:00
rob bygrave
81897bd54d
#1418 - Add saveAll() and deleteAll() to io.ebean.BeanRepository
2018-06-12 21:40:39 +12:00
rob bygrave
2427630c07
#1400 - Postgres @History table sys_period empty with multiple updates
2018-06-11 22:10:43 +12:00
rob bygrave
32e9b48359
#1414 - Support dynamic aggregate formula without alias e.g. query.select("date, sum(totalKms), sum(hours)")
2018-06-11 14:13:13 +12:00
rob bygrave
258e29d2f0
#1415 - Add asDto(Class<D> dtoClass) ... to ExpressionList to support fluid style
2018-06-11 13:29:13 +12:00
rob bygrave
ec2f1f7243
#1414 - Support dynamic aggregate formula without alias e.g. query.select("date, sum(totalKms), sum(hours)")
2018-06-11 13:20:39 +12:00
Rob Bygrave
ca7e5b79b8
#1412 - Fix Resource leaks for properties & yaml files etc - ManifestReader
...
Not fixing a leak but just changing to use try with resources
2018-06-11 00:04:58 +12:00
Rob Bygrave
90dfbcd7b3
#1412 - Fix Resource leaks for properties & yaml files etc - DefaultContainer.checkDataSource()
...
The resource was already being closed properly, changing to use try with resources and note that this now throws PersistenceException if we fail to close() on the connection (which I think is an ok change).
2018-06-11 00:02:14 +12:00
Rob Bygrave
6b39bad4da
No effective change - use JdbcClose for DatabasePlatformFactory
2018-06-10 23:55:45 +12:00
Rob Bygrave
25dea0b5b0
#1412 - Fix Resource leaks for properties & yaml files etc - DefaultAutoTuneService
2018-06-10 23:48:49 +12:00
Rob Bygrave
0069d2fabc
#1412 - Fix Resource leaks for properties & yaml files etc - ExtraDdlXmlReader
2018-06-10 23:46:55 +12:00
Rob Bygrave
98964638ba
#1412 - Fix Resource leaks for properties & yaml files etc - MigrationXmlReader
2018-06-10 23:43:41 +12:00
Rob Bygrave
4573a995f1
#1412 - Fix Resource leaks for properties & yaml files etc
...
No effective change - reformat only
2018-06-10 23:37:28 +12:00
Rob Bygrave
4bc80cc724
#1412 - Fix Resource leaks for properties & yaml files etc - EbeanVersion
2018-06-10 23:36:12 +12:00
Rob Bygrave
a2972abe3e
#1412 - Fix Resource leaks for properties & yaml files etc - DdlGenerator
2018-06-10 23:33:21 +12:00
Rob Bygrave
54eaf561f4
#1412 - Fix Resource leaks for properties & yaml files etc - Loader
2018-06-10 23:31:16 +12:00
Rob Bygrave
3134dd3165
No effective change - reformat only
2018-06-10 23:23:48 +12:00
Roland Praml and Rob Bygrave
8fc6abd480
IOUtils is no longer used, using java 1.7 StandardCharsets makes EncodeUtil also obsolete ( #1410 )
2018-06-10 22:30:47 +12:00
rob bygrave
f031bb72b6
#1408 - Incorrect SQL when @Aggregation formula matches the property - sum(t0.sum(totalKms))
2018-06-08 17:38:15 +12:00
rob bygrave
42f0b419e8
#1405 - ENH: add findSingleDecimal() and findSingleLong() alias methods for SqlQuery.findSingleAttribute() ...
2018-06-08 02:19:36 +12:00
rob bygrave
7cbae758fc
#1407 - ENH: Add SqlQuery RowMapper and RowConsumer ... for raw JDBC ResultSet mapping and consuming
2018-06-08 02:04:38 +12:00
rob bygrave
fb32cfa170
#1406 - ENH: Add SqlQuery.findSingleAttributeList() ... for returning lists of scalar values via SqlQuery
2018-06-07 22:39:19 +12:00
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
7f9ce5bdd4
#1396 merge() with ManyToMany throwing error Referential integrity constraint violation
2018-05-30 03:32:38 +12:00
rob bygrave
23e5de0819
#1394 #1395 - ENH: Add addBatch() and executeBatch() to SqlUpdate ... alternative to changing transaction batch mode enhancement
2018-05-30 03:32:23 +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
rob bygrave
21e87e12cb
Adjust test for #1391 ... such that OrganizationTreeNode has at least one db column as part of insert (for PG)
2018-05-29 13:38:17 +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
33ec8abb9d
No effective change - update test remove unused exception
2018-05-27 17:38:33 +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