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
057d7480b0
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add simple Map support with Json
2018-03-21 00:15:40 +13:00
Rob Bygrave
85c4385498
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - add simple Set support and Json support for simple List and Set.
2018-03-20 17:24:35 +13:00
Rob Bygrave
74a9019535
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - simple List.
2018-03-20 14:22:29 +13:00
Rob Bygrave
4799c56e25
#225 - Mapping - Add / review support for @IdClass
2018-03-15 18:19:17 +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
6258a5d263
Logging only change - Drop the logging from WARN to DEBUG for beans without an Id property (which is not usual but valid for Ebean)
2018-03-08 14:36:18 +13:00
Rob Bygrave
a18cac035b
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Support property alias via "AS" ... concat(lastName,', ',firstName) as lastName
2018-03-06 21:14:26 +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
e1af7c29eb
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Concat automatically maps to String ScalarType
2018-03-06 17:35:26 +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
3ca4efc818
#1331 - ENH: Support Aggregation formula with findSingleAttribute() ... max, min, avg, count and count(distinct ..)
2018-03-06 12:58:43 +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
18ca3403ac
NEW: flag to control, if javax.validation NotNull annotation should generate a NotNull column or not ( #1306 )
2018-03-02 12:02:02 +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
Rob Bygrave
c8e199177c
#1294 - NPE when delete cascade from bean with SoftDelete to imported OneToOne without SoftDelete
2018-02-27 15:31:26 +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
a712be2917
auomatically append "order by id" when paging and query.orderById = true ( #1275 )
...
Add ServerConfig.setDefaultOrderById() and query.orderById(boolean) ... to control automatically append "order by id" with paging query
2018-02-27 10:09:52 +13:00
Rob Bygrave
ff111eaf33
#1063 - Add Event Listeners capable of being notified for delete by id
...
Adds BeanDeleteIdRequest and adds a method to BeanPersistController and BeanPersistAdapter
2018-02-23 14:34:08 +13:00
Rob Bygrave
4a243a76a7
#1270 - Multi-tenant - partition mode - Delete by id does not include tenantId value in predicate
2018-02-23 10:26:47 +13:00
Rob Bygrave
f8ea5619d0
#1268 - SQL Server fix for "for update" plus Sequences support plus refactor of sequences
2018-02-22 22:45:44 +13:00
Rob Bygrave
8ee68ac5e1
#1269 - Paging queries should not ALWAYS append an order by ID ... but only when the order by is empty
2018-02-22 22:40:22 +13:00
Rob Bygrave
83384c6f0e
#323 - DDL Generation support for foreign key cascade options
...
Tidy up, no GLOBAL_DEFAULT.
2018-02-21 11:04:04 +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
3e8b06e38e
#994 - @OneToOne cacade does not honor orphanRemoval = true
2018-02-20 16:59:55 +13:00
Rob Bygrave
81d48d67a7
#123 - Mapping - Add support for OneToMany JoinTables
2018-02-20 14:40:21 +13:00
Rob Bygrave
2be3099d55
#1228 - Add support to not generate FK Constraint when @JoinColumn(foreignKey=@ForeignKey(ConstraintMode.NO_CONSTRAINT))
2018-02-19 22:45:47 +13:00
Rob Bygrave
40634412f5
#323 - DDL Generation support for foreign key cascade options
2018-02-19 22:24:37 +13:00
Rob Bygrave
628af31ddd
#1142 - Mapping - Add support for @OrderColumn (Ebean automatically maintains an order column)
2018-02-15 22:31:41 +13:00
Rob Bygrave
31cac60393
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
...
Adds Bi-directional support
2018-02-15 00:49:51 +13:00
Rob Bygrave
842292ef6b
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
2018-02-14 22:59:57 +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
abcc651e7f
#1253 - Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL
...
Fix
2018-02-09 15:00:58 +13:00
Rob Bygrave
9bade12c9d
#1251 - Delete cascade with 11+ and Postgres throws exception
...
Fix
2018-02-07 16:47:59 +13:00
André Camilo and Rob Bygrave
276c56161a
DiscriminatorColumn length should be 31 ( #1244 )
2018-01-31 08:32:21 +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
82f5c21d26
No effective change - Improve exception error message when property is not found on a bean type
...
Typically using IDE enhancement plugin with incremental compilation where part of an inheritance
hierarchy has been changed but not all related classes recompiled and re-enhanced.
2018-01-12 01:27:24 +13:00
Rob Bygrave
e07bd8f736
#1223 - Support mapping @DbArray to a List or Set of enums
2017-12-13 21:15:19 +13:00
Rob Bygrave
4d0b29624e
#1222 - Extend L2 ServerCache API with putAll(), getAll() and removeAll() methods
2017-12-13 19:58:28 +13:00
Rob Bygrave
d5555ed9a9
#1211 - ENH: Support L2 cache complex natural keys include findList() queries
2017-11-18 22:20:42 +13:00
Koen De Groote and Rob Bygrave
f1ebe7929b
Internal refactor / tidy - Suggestions from intellij code analysis. ( #1209 )
2017-11-14 18:19:38 +13:00
Rob Bygrave
56be274acc
No effective change - change internal use of ArrayList to List
2017-11-13 22:42:39 +13:00
Rob Bygrave
156f505394
#1181 - ENH: Add @FetchPreference support - Secondary query generation is based on order of fetch statements
2017-11-08 23:19:58 +13:00
Rob Bygrave
2cf864954f
#1204 - Check presence of JAXB and javax @PostConstruct (which may not be present in minimal Java 9)
2017-11-07 20:08:10 +13:00
Rob Bygrave
2b94487573
#1202 - Automatically remove old query plans from Ebean's internal query plan cache
2017-11-06 22:59:42 +13:00
rob bygrave
0dbba7a211
#1189 - ExpressionList.isNull and SoftDelete
2017-11-01 21:26:15 +13:00