rob bygrave
dbedb65922
#1183 - ENH: Add support for transaction profiling
2017-10-30 21:19:58 +13:00
Rob Bygrave
37d001f754
#1185 - Modify JDBC batch so it does not "auto flush" on non-Id non-generated property
2017-10-26 00:03:58 +13:00
rob bygrave
c121618c0c
#1183 - ENH: Add support for transaction profiling
2017-10-25 01:31:09 +13:00
rob bygrave
7ebef51859
#1183 - ENH: Add support for transaction profiling
2017-10-25 01:07:00 +13:00
Roland Praml and Rob Bygrave
6ac146cabe
Fix beanchange deser ( #1178 )
...
Fix / support JSON marshalling of BeanChange + add changeLogAsync option to ServerConfig
2017-10-19 09:40:27 +13:00
Roland Praml and Rob Bygrave
2263d31f46
Improved the performance of findAnnotation ( #1177 )
2017-10-19 09:34:57 +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
331f49824f
#1172 - Refactor - remove internal unused DefaultOrmQuery logSecondaryQuery (as we use LoggedSqlCollector)
2017-10-16 23:49:23 +13:00
Rob Bygrave
94a857d345
#1171 - ENH: Add Finder.update() method ... returning a UpdateQuery<T>
2017-10-16 23:25:56 +13:00
Rob Bygrave
1005f177fd
#1170 - ENH: Add isIn() methods as alias to in() on ExpressionList (for use with Kotlin where in is a keyword)
2017-10-16 23:13:49 +13:00
Rob Bygrave
96a4b93c75
#1167 - BUG: query.setId(...).delete() does not work
2017-10-16 22:58:48 +13:00
Rob Bygrave
f6e5446dab
#1169 - Memory leak - DefaultTransactionThreadLocal holding reference to transaction - test case
2017-10-16 22:13:41 +13:00
rob bygrave
2c5bf98d0b
Merge branch 'master' of github.com:ebean-orm/ebean
2017-10-09 21:13:32 +13:00
rob bygrave
45a571bd97
#1165 - ENH: Add to Finder - currentTransaction() and flush() methods ... (as useful shortcuts)
2017-10-09 21:13:12 +13:00
Roland Praml and Rob Bygrave
d0ca75c25b
FIX: connection leak in query-iterator ( #1164 )
2017-10-09 20:46:02 +13:00
Roland Praml and Rob Bygrave
fb1c7667cc
FIX: order by must be added in findEach also ( #1163 )
2017-10-09 20:28:36 +13:00
Roland Praml and Rob Bygrave
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 and Rob Bygrave
e4eca4bbe9
FIX: Oto relations must match datatype ( #1161 )
2017-10-06 09:44:06 +13:00
Roland Praml and Rob Bygrave
bbe8abcc2e
Can handle one to many & many to one relations in docstore only entities ( #1158 )
2017-10-06 09:42:05 +13:00
Roland Praml and Rob Bygrave
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
Roland Praml and Rob Bygrave
47b0a917a2
No effective code change - fix imports and override annotations ( #1155 )
2017-10-05 10:55:48 +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
721654d033
#1140 - Error loading embedded instance
...
The issue was due to the loaded status not being recursively set on embedded
beans after inserts. The test case invoked lazy loading due to that which
lead to the issue.
2017-10-03 12:47:29 +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 and Rob Bygrave
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 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
Roland Praml and Rob Bygrave
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
b2e0271ce7
#1128 - Allow "2 word SQL" like TRUNCATE t, ANALYSE t etc
2017-09-13 21:40:17 +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 and Rob Bygrave
a6e4e181bf
Feature/cache improvements 2 ( #1067 )
...
* New Mode to control queryCache behavior
* Collections form the cache have to be read only
* findCount not queried in query cache
* return modifiable collections from the cache
* FIX: Compile errors
* No effective code change: reformat code / javadoc
2017-09-12 23:40:18 +12:00
Roland Praml and Rob Bygrave
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 and Rob Bygrave
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
726c682984
#1116 - Remove references to annotation EbeanDDL which is no longer needed
2017-09-09 13:18:39 +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
06f3c000f5
#1115 - Trim SQL for SqlUpdate, SqlQuery and CallableSql - also replace \n with space
2017-09-08 23:45:28 +12:00
rob bygrave
8c0232fdb8
#1114 - Deprecate findUnique() - please migrate to findOne() - update tests
2017-09-08 22:48:46 +12:00