Jonas Pöhler (JPo)
2d274c46fa
FIX: no update with @OrderColumn on treeDepth > 1 and avoid needless updates
2020-04-06 15:34:43 +02:00
rob bygrave
a01362abad
#1980 Remove the volatile that was added for NPE in EntityBeanIntercept
2020-03-25 22:03:52 +13:00
Tobias
ecdd027b3e
Use temp variable to avoid NPE race
...
resolve #1980
2020-03-25 07:01:32 +01:00
rob bygrave
e6f604764c
#1980 - NullPointerException in EntityBeanIntercept
2020-03-25 15:54:16 +13:00
Rob Bygrave and GitHub
9b501b3dc8
Merge pull request #1979 from FOCONIS/bugfix/order_column_on_inheritance_model
...
@OrderColumn does not work on inheritance models
2020-03-23 22:28:57 +13:00
Jonas Pöhler and GitHub
c2fb23a25c
"insert into table default values" is invalid MySQL syntax ( #1978 )
...
* ADD: failing testcase for "insert into table default values;" is invalid MySql syntax
* FIX: "insert into table default values;" is invalid MySql syntax
2020-03-23 22:09:28 +13:00
Jonas Pöhler (JPo)
1ad7ace9bd
FIX: error with @OrderColumn on model with inheritance
2020-03-20 10:22:16 +01:00
rob bygrave
f0c0b7ebcc
#1974 - Turn on by default loadModuleInfo - aka auto register entity beans using query bean generated code
2020-03-12 23:45:35 +13:00
rob bygrave
48abc73e50
#1973 - L2Cache, Inheritance and Lazy-Loading loads the parent Class not the Child
2020-03-10 22:52:13 +13:00
rob bygrave
91a327a5e7
#1972 - Change BigDecimal to map by default DB type DECIMAL(16,3) rather than DECIMAL(38)
2020-03-09 17:05:08 +13:00
Rob Bygrave and GitHub
a861e8bdcc
Remove reading mapping annotations from "Getters" with associated refactoring for performance ( #1971 )
...
* #1970 - Change test code only moving mapping annotations to fields
First step in remove support for mapping annotations on "Getters" (so field only target for mapping annotations)
* #1970 - Remove reading mapping annotations from "Getters"
* #1970 - Refactor to use simple annotation lookup where possible
* #1970 - Remove GenerationType.TABLE and SequenceGenerator from type/class
* #1970 - Refactor meta annotation reading
* #1970 - Read @Aggregation as a meta annotation
2020-03-09 16:09:41 +13:00
rob bygrave
524e3e31f0
Refactor rename Transaction setGetGeneratedKeys(), setFlushOnMixed() setFlushOnQuery() ... (remove the "batch" part)
2020-03-05 01:10:41 +13:00
rob bygrave
d69d96a400
#1967 - Refactor internals reverse default columnAliasPrefix to null from "c"
2020-03-05 00:56:22 +13:00
rob bygrave
ba01103f48
#1965 @Identity with sequence ddl generation
2020-03-05 00:13:08 +13:00
rob bygrave
04adc35ccd
Support for @Identity - Fix sequence name propagation
2020-03-04 22:49:08 +13:00
rob bygrave
bfc2b57df5
Support for @Identity - use identity options with sequence
2020-03-04 21:29:56 +13:00
rob bygrave
2ac19bea1a
Support for @Identity - with start, increment, cache
2020-03-04 16:59:42 +13:00
rob bygrave
9410f82f5a
Support for @Identity - update default sequence increment
2020-03-03 22:36:59 +13:00
rob bygrave
f871259f20
Support for @Identity - split IdentityMode and DeployIdentityMode
2020-03-03 22:36:27 +13:00
rob bygrave
eb765056fd
Support for @Identity - initial refactor to add IdentityMode
2020-03-03 22:36:27 +13:00
rob bygrave
ddf3c753d6
Ability to use order(<orderByClause>) on filterMany() (related to #1943 ) #1964
2020-03-03 22:31:01 +13:00
rob bygrave
f080f16e63
#1962 - Refactor simplify Postgres platforms to POSTGRES and POSTGRES9
2020-03-01 12:53:34 +13:00
Rob Bygrave and GitHub
2236e4bfd7
Refactor PlatformDdl separate call to asIdentityColumn() ( #1961 )
2020-03-01 10:42:41 +13:00
rob bygrave
0891c067d5
#1953 - Do we need SqlServer2005Platform and SqlServer2005SqlLimiter?
2020-02-22 11:48:16 +13:00
rob bygrave
3878b02cff
#1956 - Add SqlQuery - mapTo( RowMapper) ... to deprecate findOne(RowMapper)
2020-02-22 10:50:23 +13:00
rob bygrave
92995b807e
#1955 - mapToScalar - Add SqlQuery.mapToScalar( <class> ).findOne() / findList() ... to deprecate findSingleAttribute()
2020-02-22 10:09:44 +13:00
Rob Bygrave and GitHub
907d36123d
OraclePlatform update (ANSI row limiting with OFFSET), Oracle11Platform for old behaviour ( #1951 )
...
* #1947 - Oracle change to use concat operator rather than function
* #1947 - setMaxRows(1).findIds() under Oracle returns wrong result
* #1950 - Change OraclePlatform to use ANSI row limiting - OFFSET and NEXT ROWS, old platform as Oracle11Platform
* Revert test default to H2
* #1947 - Oracle & Oracle11 platform
2020-02-22 09:28:34 +13:00
Rob Bygrave and GitHub
2db95f909d
Merge pull request #1944 from ebean-orm/feature/1943
...
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-22 09:26:03 +13:00
Rob Bygrave and GitHub
2314fd267f
Split Postgres platform into Postgres10 & Postgres9 (DDL - generated by default as identity) ( #1921 )
...
* Split Postgres platform into Postgres10 & Postgres9
- Use "generated by default as identity" for Postgres10 identity columns
* Add postgres9 migrationtest resources
* Set default back to h2
* Add postgres10 migration test resources
2020-02-22 09:18:05 +13:00
Rob Bygrave and GitHub
b24f093bbb
Remove io.ebean.meta.MetricType as it is unnecessary ( #1923 )
2020-02-22 09:17:14 +13:00
Rob Bygrave and GitHub
444c868124
Refactor to use avaje config ( #1894 )
...
* Move to use Avaje Config for properties loading
2020-02-22 09:11:37 +13:00
Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01:00
rob bygrave
ea490a5ac3
Collect the DB schemas in the model via MTable
2020-02-21 17:16:28 +13:00
rob bygrave
e4390ed8a2
#1952 - Entity bean with @Id and ONLY @WhenCreated treated as reference bean - not inserted
2020-02-21 00:14:23 +13:00
rob bygrave
c0d752b445
#1941 - @History it seems does not work well when it got generated with ebean.allQuotedIdentifiers enabled
2020-02-20 16:51:07 +13:00
rob bygrave
e9325a81f7
ENH: Add query.usingDatabase(database)
2020-02-19 11:41:06 +13:00
Rob Bygrave and GitHub
78b9066345
Merge pull request #1946 from ebean-orm/feature/orderByDeprecate
...
Deprecate orderBy() migrate to order()
2020-02-19 10:00:15 +13:00
rob bygrave
1959e01844
Javadoc update only - change server to database in examples
2020-02-18 23:43:39 +13:00
rob bygrave
cf6179c86b
Deprecate orderBy() migrate to order() - update javadoc
2020-02-18 23:36:48 +13:00
rob bygrave
168dacffa7
Deprecate orderBy() migrate to order()
2020-02-18 23:27:43 +13:00
rob bygrave
e0d322d80a
#1943 - Return ExpressionList<T> from setMaxRows() setFirstRow() to allow fluid style
...
This is to allow fluid style use of setMaxRows() setFirstRow() with filterMany query
2020-02-17 17:19:27 +13:00
rob bygrave
1dd0f3cbf8
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-17 17:05:01 +13:00
rob bygrave
6961bf5787
#1945 - ENH: Add query.orderById(boolean) to ExpressionList ... improve fluid style
2020-02-17 16:47:37 +13:00
rob bygrave
a14288b06d
Refactor tidy DefaultExpressionList, no functional change
2020-02-17 16:40:03 +13:00
rob bygrave
171d1a19f4
#1937 - When add a new col with @DbComment in Entity,the DbMigration does not generate comment ddl
2020-02-17 14:19:19 +13:00
rob bygrave
8feb100ac6
#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()
2020-02-15 02:01:02 +13:00
rob bygrave
60aa720777
No effective change - javadoc format SpiTransaction
2020-02-07 20:53:08 +13:00
rob bygrave
3e43d544fb
#1936 - ENH: Add saveAll(Object... beans) ... using varargs for DB and Database
2020-02-07 16:10:11 +13:00
rob bygrave
62b1da1be2
#1935 - ENH: Add DB.createTransaction()
2020-02-07 15:52:26 +13:00
rob bygrave
8b4eae2f91
#1934 - ENH: Add methods to Model that take explicit transaction - save(transaction), delete(transaction) ...
2020-02-07 13:00:59 +13:00