rob bygrave
e21839de91
#1424 - Deprecate / Move ... finder methods that take explicit transaction to ExtendedServer API
2018-06-14 11:03:29 +12:00
Roland Praml and Rob Bygrave
9ad460ecd8
FIX: applied history drops were not recognized ( #1422 )
2018-06-14 00:07:14 +12:00
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
258e29d2f0
#1415 - Add asDto(Class<D> dtoClass) ... to ExpressionList to support fluid style
2018-06-11 13:29:13 +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
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
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
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
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
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
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
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
rob bygrave
cb0dee998b
#1375 - Bug: RawSql parsing fails when using placeholders
2018-05-17 12:48:08 +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
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
eb96c726fd
No effective change - Modify some tests to use transaction try with resources
2018-03-27 10:47:24 +13:00
Rob Bygrave
db5a2b194d
No effective change - add extra test coverage on DefaultTransactionThreadLocal
2018-03-26 23:31:31 +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
Yuan Xuegui and Rob Bygrave
6cf5e3386d
ENH: Add mappingsLocation config to search xml mapping files. ( #1350 )
...
ENH: Add mappingsLocation config and search xml mapping files feature.
2018-03-26 16:37:25 +13:00
Rob Bygrave
74a9019535
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - simple List.
2018-03-20 14:22:29 +13:00
yuanxuegui
5575273c96
ENH: Add named DtoQuery, such that we can define native SQL queries in ebean mapping xml for DtoQuery.
2018-03-19 18:04:49 +08:00
yuanxuegui
9d336cb20b
ENH: Add mappingsLocation config to search xml mapping files.
...
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
remove unused import.
ENH: Add mappingsLocation config and search xml mapping files feature.
2018-03-17 17:27:51 +08:00
Rob Bygrave
602a35d0b6
#1348 - ENH: Add support for bitwiseAnd / bitwiseAny / bitwiseAll .. expressions for use with integer/long "Flags" properties
2018-03-14 16:23:16 +13:00
Rob Bygrave
afead2da41
#1221 - ENH: Add a merge(bean) and merge(bean, paths)
2018-03-13 23:55:47 +13:00
Rob Bygrave
af2b8976fa
#1346 - Since ebean version 11.12.1 executing docStore query with findPagedList fails with error (due to order by id)
2018-03-12 18:28:17 +13:00
Rob Bygrave
85bfe3d03e
#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
2018-03-10 02:51:51 +13:00
Rob Bygrave
eda6350d89
#1344 - ENH: Add initial Cockroach DB support ... need to review JSON
...
Adds in the DB ARRAY support (exactly the same as Postgres)
2018-03-09 17:40:34 +13:00
Rob Bygrave
2042bdf29a
#1342 - Refactor and rename DbTypeConfig to Platform config to support multi-platform db migration
2018-03-08 23:23:50 +13:00
Rob Bygrave
0cc87009d0
#1340 - (test only change) Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Update DbMigrationGenerateTest ... for SqlServer17 platform
2018-03-08 18:37:36 +13:00
Rob Bygrave
824f5e468e
#1340 - (test only change) Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Reset Offline platform in DbMigrationSqlServerTest
2018-03-08 18:18:13 +13:00
Rob Bygrave
f840cfc2ae
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
test changes
2018-03-08 17:40:11 +13:00
Rob Bygrave
c0efd49c73
#1341 - Cascade persist with JDBC batch and BeanPersistAdapter with preUpdate() that invokes lazy loading on persisted bean ... results in OptimisticLockException
2018-03-08 14:12:32 +13:00
Rob Bygrave
baa7242939
#1338 - Regression since 11.12.1 - resolve expressions in Properties given to serverConfig.loadFromProperties()
2018-03-07 16:43:42 +13:00
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
94a118d635
FIX: do not set username and password for DbMigrationConfig ( #1304 )
2018-03-02 11:59:01 +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