Rob Bygrave
55a257a64c
#1334 - ENH: Convert ORM query into DTO query ... with dynamic formula support
2018-03-07 01:52:18 +13:00
Rob Bygrave
873c14faaf
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Support cast of formula like ... select("max(updtime)::Instant")
2018-03-06 20:58:30 +13:00
Rob Bygrave
c1c85b67c2
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
2018-03-06 17:29:45 +13:00
Rob Bygrave
05b8adbf6e
No effective change - change test from extends testcase to normal junit
2018-03-06 16:37:47 +13:00
Rob Bygrave
3ca4efc818
#1331 - ENH: Support Aggregation formula with findSingleAttribute() ... max, min, avg, count and count(distinct ..)
2018-03-06 12:58:43 +13:00
Rob Bygrave
ec2c3b13d4
No effective change - add test for deploy parser
2018-03-06 01:08:42 +13:00
Rob Bygrave
62cdfb3209
#1330 - Update ANTLR dependency to 4.7.1
2018-03-05 19:22:38 +13:00
Rob Bygrave
aad5b33db2
#1297 - ENH: Add DtoQuery ... such that we can map native SQL queries automatically into "DTO beans"
2018-03-02 23:32:01 +13:00
Roland Praml and Rob Bygrave
56a742ad70
NEW: UUID version 1 generator ( #1309 )
...
* NEW: Uuid Type 1 generator
* Remove parameter (from other PR)
* FIX: Mac detection
* Have to use nodeId in generation
2018-03-02 12:09:21 +13:00
Roland Praml and Rob Bygrave
e252f71792
ENH: Optimized binary form for UUID (Type 1) ( #1308 )
...
* ENH: Optimized binary form for UUID (Type 1)
* added missing parameter in test
2018-03-02 12:04:56 +13:00
Roland Praml and Rob Bygrave
efe325034b
NEW: Ebean.checkUniqueness - you can check a bean, if save would work ( #1303 )
2018-03-02 11:57:44 +13:00
Roland Praml and Rob Bygrave
0c368ed7b3
FIX: extra-ddl can contribute to "drop-all" script, otherwise the drop all script is not appyable to h2:file ( #1301 )
2018-03-02 11:48:35 +13:00
Roland Praml and Rob Bygrave
c1b022c123
NEW: FetchCountDistinct - query can return distinct values with their counts ( #1300 )
...
* NEW: FetchCountDistinct - query can return distinct values with their counts
* Have to disable asserts, because of #1298
2018-03-02 11:46:41 +13:00
Rob Bygrave
525afbc00f
#1296 - where().exampleLike(bean) ... with 'empty bean' produces invalid SQL
2018-03-01 13:38:09 +13:00
Rob Bygrave
6f2e1c0248
#1295 - Multiple platform DbMigration generation with non-native boolean type (BIT, INTEGER etc) produces incorrect DDL for other DB Platform with native boolean
2018-03-01 12:55:22 +13:00
Rob Bygrave
45a023f0e4
#1282 - Not supported for @DbArray mapping when using kotlin var instead of val
2018-02-27 14:25:44 +13:00
Rob Bygrave
e751f991cb
#1275 - Additional refactor for - Add ServerConfig.setDefaultOrderById() ...
...
Removes the cast on DefaultOrmQuery.prepare()
2018-02-27 11:31:30 +13:00
Roland Praml and Rob Bygrave
83cf768369
Append preconfigured database to dbMigration ( #1291 )
2018-02-27 11:09:44 +13:00
Roland Praml and Rob Bygrave
bb418456e3
Misc fixes ( #1290 )
2018-02-27 11:06:35 +13:00
Roland Praml and Rob Bygrave
0e3f47ee82
No effective code change: Fixwarnings, overrides, generics etc. ( #1285 )
2018-02-27 10:15:19 +13:00
Roland Praml and Rob Bygrave
da7bb834e7
DbMigration supports altering UniqueConstraints and foreign keys ( #1279 )
...
* NEW: Ebean reads version from pop.properties and prints it at start up
* DDL generation and migration can append a header and platformMigration is prepared to append epilog & prolog to scripts
* FIX: Set identity only, if it is not the platform default type
* Updated reference scripts
* ADD basic support for foreign key migration
* DbMigration detects alter foreign keys
* tests
2018-02-26 14:24:52 +13:00
Roland Praml and Rob Bygrave
91cb5a23fd
Fix dbmigration ( #1277 )
...
ENH: Support adding a '-- Generated by' comment to DDL including version and timestamp
2018-02-26 12:37:54 +13:00
Rob Bygrave
75462e7410
#1272 - ENH: Add built in support for Joda Period and java time Period
2018-02-23 17:54:02 +13:00
Rob Bygrave
265bda8cf2
#1272 - ENH: Add built in support for Joda Period
2018-02-23 17:41:01 +13:00
Rob Bygrave
ec7b376612
Test only change - fix test assert for sql server
2018-02-22 22:12:30 +13:00
Rob Bygrave
eaa48468cd
#1174 - ENH: Support mapping @TenantId to an entity bean via @ManyToOne
2018-02-21 09:44:37 +13:00
Rob Bygrave
40634412f5
#323 - DDL Generation support for foreign key cascade options
2018-02-19 22:24:37 +13:00
Rob Bygrave
ac36172cc6
#997 - TypeReflectHelper does not resolve type variables correctly in non-trivial cases
...
Part 2 - Fix the failing test, swap in use of TypeResolver and remove all the unused features.
2018-02-16 12:47:10 +13:00
Rob Bygrave
1829c74694
#997 - TypeReflectHelper does not resolve type variables correctly in non-trivial cases
...
Initial failing test ... and TypeResolver prior to cleanup
2018-02-16 12:25:07 +13:00
Rob Bygrave
7c477827fe
#1259 - Throw explicit mapping error when an Enum is mapped to both ORDINAL and STRING
2018-02-14 12:39:35 +13:00
Rob Bygrave
a95fd063ae
#1256 - Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL (Part 2)
2018-02-13 14:52:18 +13:00
Rob Bygrave
17a54e3804
No effective change - extra tests for DeployPropertyParser
2018-02-13 14:09:08 +13:00
Rob Bygrave
2f47235018
#1255 - Regression on raw LIKE expression with slashes on Postgres
2018-02-09 21:28:39 +13:00
Rob Bygrave
bbef5a6bbb
#1243 - Add IDENTITY support for Oracle platform (since 12c Oracle supports auto generated identity)
2018-02-02 23:18:23 +13:00
Rob Bygrave
4645fd9725
Cleanup tests for Oracle
2018-02-02 23:17:21 +13:00
Rob Bygrave
823cb45221
Cleanup tests for Oracle
2018-02-02 23:17:03 +13:00
Rob Bygrave
f9cd955f7a
#1245 - Refactor internals - Add to TransactionManager externalRemoveTransaction() and externalBeginTransaction()
...
These provide a better/tidier way for external transaction managers (like ebean-spring-txn) to begin and end externally
managed transactions.
2018-01-31 13:28:42 +13:00
Rob Bygrave
51d2e4c600
ENH: Add ProfileLocation - Part 2 - performance metrics for transactions with label and profileLocation
2018-01-22 14:54:27 +13:00
Rob Bygrave
07cdf64ece
#1238 - Refactor MetaInfoManager - collect query plan stats, fix collection of stats on UpdateQuery
2018-01-19 01:07:37 +13:00
Rob Bygrave
b9ae76d465
#1237 - ENH: Add ProfileLocation - support for relating performance metrics for queries and transactions back to source line of code
2018-01-18 18:10:03 +13:00
Rob Bygrave
58d6b2c24e
Merge branch 'master' of github.com:ebean-orm/ebean
2018-01-06 12:52:38 +13:00
Rob Bygrave
3c7ef7d46e
#1229 - Implement equals and hashCode on ModifyAwareMap, ModifyAwareList and ModifyAwareSet
2018-01-06 12:51:50 +13:00
rob bygrave
7110f4a59b
No effective change - remove unused HashQueryPlan etc
2017-12-28 16:17:00 +13:00
Rob Bygrave
c7f4b56dd1
#1225 - ENH: Extend L2 server cache (near caching) for clearing "near caches"
2017-12-13 02:09:10 +13:00
Rob Bygrave
ef91c643ed
#1214 - ENH: Add inPairs() expression - support L2 cache hits for complex natural key with findList() and in pairs expression
2017-11-19 16:47:32 +13:00
Rob Bygrave
d5555ed9a9
#1211 - ENH: Support L2 cache complex natural keys include findList() queries
2017-11-18 22:20:42 +13:00
Rob Bygrave
ff67ef60b0
#1197 - Refactor how @Transactional methods internally managed
2017-11-03 02:13:56 +13:00
Rob Bygrave
f36499f71f
No effective change - remove use of jetbrains @NotNull in tests
2017-11-02 15:26:35 +13:00
rob bygrave
10eb2bc21f
#1193 - For RawSql ignore the Postgres cast double colon like ::text
2017-11-02 00:03:38 +13:00
rob bygrave
0dbba7a211
#1189 - ExpressionList.isNull and SoftDelete
2017-11-01 21:26:15 +13:00