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
Koen De Groote and Rob Bygrave
6120a465e1
Simple fixes ( #976 )
...
* Should be only the really simple stuff.
* Final cleanups.
2017-02-23 23:46:51 +13:00
Roland Praml and Rob Bygrave
1292c86b76
removed duplicate StringHelper ( #958 )
2017-01-31 22:10:45 +13:00
Rob Bygrave
b6f21f8649
No effective change - refactor merge AnnotationFields initWhoModified() and initWhoCreated() methods
2017-01-11 20:59:11 +13:00
Nagy Vilmos and Rob Bygrave
8fd04807c7
WhoCreated, WhoModified on OneToMany connections. ( #942 )
...
* WhoCreated, WhoModified on OneToMany connections.
* PostgreSQL table name fix in tests.
2017-01-11 20:54:20 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00