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
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
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
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
acd5578d8a
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add element collection L2 cache support
2018-03-29 01:15:58 +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
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
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
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
André Camilo and Rob Bygrave
276c56161a
DiscriminatorColumn length should be 31 ( #1244 )
2018-01-31 08:32:21 +13:00
Rob Bygrave
e07bd8f736
#1223 - Support mapping @DbArray to a List or Set of enums
2017-12-13 21:15:19 +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
156f505394
#1181 - ENH: Add @FetchPreference support - Secondary query generation is based on order of fetch statements
2017-11-08 23:19:58 +13:00
Roland Praml and Rob Bygrave
2263d31f46
Improved the performance of findAnnotation ( #1177 )
2017-10-19 09:34:57 +13:00
Koen De Groote and Rob Bygrave
4879d44da4
Bit of cleanup suggestions from intellij. ( #1168 )
2017-10-16 20:16:30 +13:00
rob bygrave
90cf3fddc9
#1151 - Refactor add util AnnotationUtil ... moving common annotation searching methods there
2017-10-05 00:00:44 +13:00
rob bygrave
f02a552cdf
#1150 - Refactor convert RawSql and RawSqlBuilder into interfaces and push the parsers into io.ebeaninternal
2017-10-04 23:03:12 +13:00
Rob Bygrave
fc996659f2
#1139 - NoSuchMethodError: javax.persistence.Embedded.prefix()Ljava/lang/String;
2017-10-03 11:02:38 +13:00
rob bygrave
2c436c3af5
#1123 - 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package
2017-09-15 21:48:37 +12:00
Roland Praml and Rob Bygrave
b66f18bfd6
Fix warnings 2 ( #1130 )
...
* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change
* replaced deprecated methods by default methods
* FIX: more compiler warnings
* FIX more warnings - no code changes
* FIX: deprecated call to JsonParseException
* Remove unused code, check unused variables
2017-09-14 00:32:48 +12:00
rob bygrave
726c682984
#1116 - Remove references to annotation EbeanDDL which is no longer needed
2017-09-09 13:18:39 +12:00
rob bygrave
0c22a99fdf
#1116 - Remove references to annotation EbeanDDL which is no longer needed
2017-09-09 13:12:40 +12:00
Roland Praml and Rob Bygrave
dd8fff0277
Feature/ddl migration ( #1111 )
...
* REFACTOR: use functions from ddl-help
* NEW: Default values are written to DDL
* fix testcase for sqlserver as default constraints will get names in future
* Reading DbMigration
* ADD: DbmIgrationGenerateTest
* Tables must be created first
* Sanity checks and some getters
* DdlMigration gets applied now
* ADD: Testcase and reference migration scripts
* no effective code changes: add comments
2017-09-08 21:47:33 +12:00
Roland Praml and Rob Bygrave
46cdc84e6b
Refactor/findannotation ( #1104 )
...
* refactor: renamed findAnnotation method that searches recursive to findAnnotationRecursive
* CHG: searching namedQueries & indices also recursive in superclasses
* FIX: Using the AnnotationBase methods on several places and documented them
2017-09-01 20:25:10 +12:00
Koen De Groote and Rob Bygrave
9e2923f571
For debug and trace levels, either added isEnabled check or made arguments parameterized. ( #1028 )
2017-05-21 21:50:13 +12:00
rob bygrave
fe9500e6d0
#1011 - Create valid migration scripts for non-Postgres databases and @DbArray columns.
...
Merge branch 'test/dbarray-create-migration' of https://github.com/FOCONIS/ebean into FOCONIS-test/dbarray-create-migration
commit 3a8f32b173
Author: Michael Benz <michael.benz@foconis.de >
Date: Wed Apr 19 18:16:51 2017 +0200
adding dbmigration ddlgeneration test for Ebean @DbArray extension.
2017-05-20 23:40:02 +12:00
rob bygrave
79f7c73983
#999 - Refactor tidy for ... @DiscriminatorColumn columnDefinition is ignored for DDL generation
2017-05-20 15:22:06 +12:00
rob bygrave
d04954e46f
#999 - @DiscriminatorColumn columnDefinition is ignored for DDL generation
2017-05-20 15:03:21 +12:00
rob bygrave
c7cbe4ead8
Read the new @Length annotation
2017-05-19 23:00:10 +12:00
rob bygrave
6ad808003a
Refactor - remove unused ebeandeploy.dtd
2017-05-14 21:11:00 +12:00
rob bygrave
70de6101db
Refactor, remove unused SqlReservedWords
2017-05-14 21:10:24 +12:00
Koen De Groote and Rob Bygrave
951e517caf
Replaced Tail Recursion while while/true loops. ( #1019 )
2017-05-11 22:07:10 +12:00
Rob Bygrave
a120c2aaee
#947 - Treat primitive boolean as NOT NULL - DDL as not null
2017-04-25 13:17:58 +12:00
Koen De Groote and Rob Bygrave
8432f7b0d5
Some changes that are possible in Java language level 7 and 8. ( #1007 )
2017-04-22 15:43:56 +12:00
Rob Bygrave
964d2d00a2
#1001 - Add @Length and @NotNull, (plus move @Transactional to ebean-annotation)
2017-03-31 21:56:30 +13:00
Rob Bygrave
3051412d90
#989 - ENH: Support @DbArray with Set ... (addition to the existing List support)
2017-03-10 20:50:07 +13:00
Rob Bygrave
35f3f53443
No effective change - format and imports only
2017-02-24 00:06:13 +13:00
Roland Praml and Rob Bygrave
40f5596837
add missing @override ( #975 )
...
* no effective code change: add missing @override in "io.ebean.*" package
* no effective code change: add missing @override in "io.ebeaninternal.api.*" package
* no effective code change: add missing @override in "io.ebeaninternal.server.*" package
* no effective code change: add missing @override in "io.ebeaninternal.util.*" package
* no effective code change: add missing @override in "io.ebeanservice.*" package
* no effective code change: add missing @override in "src/test/java/"
2017-02-24 00:01:25 +13:00