rob bygrave
7110f4a59b
No effective change - remove unused HashQueryPlan etc
2017-12-28 16:17:00 +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
c7f4b56dd1
#1225 - ENH: Extend L2 server cache (near caching) for clearing "near caches"
2017-12-13 02:09:10 +13:00
Rob Bygrave
69c045443c
#1218 - ENH: Bump to migration 11.2.1 with support for options patchInsertOn and patchResetChecksumOn
2017-11-23 19:05:35 +13:00
Rob Bygrave
b9380aa5b8
No effective change - add property test for ServerConfig jsonDateTime
2017-11-22 21:21:09 +13:00
Rob Bygrave
7ff3d703f7
#1215 - ENH: Add Query setBeanCacheMode(CacheMode) ... with a view to it replacing the existing setUseCache(boolean) and setLoadBeanCache(boolean)
2017-11-19 20:16:40 +13:00
Rob Bygrave
ef91c643ed
#1214 - ENH: Add inPairs() expression - support L2 cache hits for complex natural key with findList() and in pairs expression
2017-11-19 16:47:32 +13:00
Rob Bygrave
d5555ed9a9
#1211 - ENH: Support L2 cache complex natural keys include findList() queries
2017-11-18 22:20:42 +13:00
Rob Bygrave
434a005366
#1198 - Remove support for PropertyChangeListener from entity beans
2017-11-03 03:05:59 +13:00
Rob Bygrave
ff67ef60b0
#1197 - Refactor how @Transactional methods internally managed
2017-11-03 02:13:56 +13:00
Rob Bygrave
f36499f71f
No effective change - remove use of jetbrains @NotNull in tests
2017-11-02 15:26:35 +13:00
rob bygrave
10eb2bc21f
#1193 - For RawSql ignore the Postgres cast double colon like ::text
2017-11-02 00:03:38 +13:00
rob bygrave
0dbba7a211
#1189 - ExpressionList.isNull and SoftDelete
2017-11-01 21:26:15 +13:00
rob bygrave
1e1c518641
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
...
Use Postgres Array ANY and ALL without select unnest
2017-10-31 22:09:35 +13:00
rob bygrave
6e62b72fb9
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
2017-10-31 02:53:20 +13:00
rob bygrave
7ebef51859
#1183 - ENH: Add support for transaction profiling
2017-10-25 01:07:00 +13:00
rob bygrave
00fdb632d7
#1173 - Ebean server should read ebean.mf entity-packages to locate entity beans
2017-10-18 23:58:22 +13:00
Rob Bygrave
a89a9f0202
#1166 - Refactor to use beginServerTransaction() to make Ebean.currentTransaction available in lifecycle handlers
2017-10-17 01:07:48 +13:00
Rob Bygrave
f6e5446dab
#1169 - Memory leak - DefaultTransactionThreadLocal holding reference to transaction - test case
2017-10-16 22:13:41 +13:00
Roland Praml
1909ba1557
Fix like escaping for DB2, Oracle and MySql ( #1162 )
...
* Extended test case to show problem
* FIX: Proper escaping of backslash in like/contains queries
* Had to replace "like ?" assertions in tests with "like " as mysql will do a "like binary ? escape'|'" now to be case sensitive
2017-10-06 09:46:56 +13:00
Roland Praml
1651d5e119
Misc platform fixes ( #1157 )
...
* Oracle does not return row count - so we probably cannot detect Optimistic locking
* DB2 wants a varchar null value (other platfroms are happy with this, too)
* FIX Test for DB2 platform
2017-10-05 21:51:09 +13:00
rob bygrave
0bf4c84bc8
#1153 - Refactor move SplitName into io.ebean.util
2017-10-05 00:41:32 +13:00
rob bygrave
bf3f8ecff5
Refactor plugin.BeanType addInheritanceWhere() to just take Query and not SpiQuery
2017-10-05 00:35:12 +13:00
rob bygrave
7524903aea
#1152 - Refactor EJson internals extracting io.ebean.service.SpiJsonService
2017-10-05 00:29:43 +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
5a5cb7ffbd
#1149 - Refactor move PersistenceContextUtil into ... io.ebeaninternal
2017-10-04 21:12:39 +13:00
rob bygrave
9f9ec8ef9f
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - move IdentityType handling into internal from DbIdentity
2017-10-04 20:49:04 +13:00
rob bygrave
62707caf64
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - move PlatformDdl into internal
2017-10-04 20:30:57 +13:00
rob bygrave
10faa1fae6
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - initial move
2017-10-04 19:36:27 +13:00
Rob Bygrave
8301cb634e
#1027 - ENH: Add a Slow query event listener ... to log or listen to queries that exceed some defined execution time
2017-10-03 15:04:30 +13:00
Rob Bygrave
fe1817ef02
No effective change - update test
2017-10-03 12:34:56 +13:00
rob bygrave
368d22baa6
#1145 - Refactor @ChangeLog based on JSON documents for 'new values' and 'old values'
2017-10-03 01:31:37 +13:00
rob bygrave
daf3d97266
#1144 - Refactor internals - move generated property setting into PersistRequestBean
2017-10-03 00:30:34 +13:00
rob bygrave
f2179fca2d
#1123 - 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package
2017-09-15 21:48:53 +12:00
Roland Praml
8d334ff2e8
Feature/contitional test runner ( #1132 )
...
* 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
* ADD: ContitonaltestRunner to skip tests for certain platforms
* Use annotations to control on which platforms a test shoud run
* FIX: compile errors
2017-09-15 21:03:03 +12:00
Roland Praml
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
Roland Praml
ac6708e0d0
Fix warnings ( #1129 )
...
* 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
2017-09-14 00:29:01 +12:00
rob bygrave
1e6678cbb4
#1126 - Regression bug in 10.4.5 with new line character use with SqlQuery, SqlUpdate and CallableSql
2017-09-13 21:14:19 +12:00
Roland Praml
b8e1dffca2
replaced findUnique by "default" method in interfaces. ( #1124 )
2017-09-12 23:20:04 +12:00
rob bygrave
f77f3c3d6e
#1119 - Deprecate TxRunnable and TxCallable - migrate to plan JDK Runnable and Callable. Add explicit executeCall() method
2017-09-10 20:47:26 +12:00
Roland Praml
9a7646195c
Featur/dbmigration 3 ( #1118 )
...
* ADD: more test classes for Softdelete and History
* update reference models after adding test classes
* DbMigration:Improved History generation for sqlserver
* FIX: When DB supports Sql2011 platform, we must not alter the history-table (as this is handled by DB itself)
* DbMigration: When dropping a table, drop the sequence also.
* DbMigration: dropColumn is handled by platformDdl now, as SqlServerDdl needs to delete dependent objects (default constraints...) first
* FIX: DbMigration is not executed on history table
* DbMigration: can drop comment now.
* No effective code change: completed ObjectFactory / fixed imports
* FIX: drop table comment
* Committed the reference models
2017-09-10 15:26:01 +12:00
rob bygrave
84d3578e33
No effective change - add a test for saveAll() with existing batch mode on
...
Assert that it does not flush the batch. We want the batch to continue and flush normally.
2017-09-09 14:14:57 +12:00
rob bygrave
c062c8e001
#1054 Java 9 - adding "Automatic-Module-Name" to MANIFEST.MF initial step
...
Update dependency to ebean-migration 10.2.1, avaje-classpath-scanner and avaje-datasource to avoid package name clash
2017-09-09 01:53:47 +12:00
rob bygrave
8c0232fdb8
#1114 - Deprecate findUnique() - please migrate to findOne() - update tests
2017-09-08 22:48:46 +12:00
Roland Praml
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
Rob Bygrave
39931a3a2c
No effective change - add test example of markUnset on version property (to avoid occ check)
2017-09-07 00:40:19 +12:00
Roland Praml
8009bdf099
REFACTOR: Created a "splitNames" in StringHelper and use it in various places. Also wrote some tests for StringHelper. ( #1107 )
2017-09-01 20:40:39 +12:00
rob bygrave
96e3f4138f
#1064 - Query table alias not used in update() or delete() queries
2017-08-31 21:29:08 +12:00
rob bygrave
f83c7fdac8
#1100 - Refactor OrmQueryPlanKey to use string expression for where
2017-08-31 02:11:49 +12:00
Roland Praml
c00febd95b
ENH: Abort all tests if connection to db could not be esablished ( #1099 )
2017-08-30 20:04:50 +12:00