Ondrej Pacay
b60f1f978f
Bug Collection IDs L2 cache not cleared on external sql modification of the table #1179
2017-10-19 01:06:43 +02: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
a355f66561
#1176 - Allow script in extra-ddl.xml ... to not have trailing semi-colon
2017-10-19 01:11:14 +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
a54c4157e6
Refactor as part of - Ensure that Ebean.currentTransaction is available in lifecycle handlers ( #1166 ) #1175
2017-10-18 23:27:59 +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
6e2712ea49
#1169 - Memory leak - DefaultTransactionThreadLocal holding reference to transaction
2017-10-16 22:14:48 +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
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
b2438ecd71
FIX: do not generate unique-constraint for PK as it is useless (and oracle does not accept this) ( #1160 )
2017-10-06 09:43:30 +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
64bf6d6a35
commit transaction only if active ( #1156 )
2017-10-05 11:04:12 +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
88a13c5416
#1154 - Remove deprecated TxCallable and TxRunnable - migrate to use Callable and Runnable
2017-10-05 01:24:53 +13:00
rob bygrave
16b8f5da35
Refactor EbeanServerFactory internals - use SpiContainerFactory interface and service loader
2017-10-05 01:12:07 +13:00
rob bygrave
3471f6d206
Refactor EbeanServerFactory internals - use SpiContainerShutdown interface for container shutdown mechanism
2017-10-05 00:57:40 +13:00
rob bygrave
0bf4c84bc8
#1153 - Refactor move SplitName into io.ebean.util
2017-10-05 00:41:32 +13:00
rob bygrave
d366336ee5
#1153 - Refactor move ExtraTypeFactory out of io.ebean.plugin into io.ebeaninternal
2017-10-05 00:38:42 +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
90cf3fddc9
#1151 - Refactor add util AnnotationUtil ... moving common annotation searching methods there
2017-10-05 00:00:44 +13:00
rob bygrave
8e0f9f7591
Refactor - remove unused methods from StringHelper
2017-10-04 23:35:57 +13:00
rob bygrave
24936c0a41
Refactor - remove unused class ClassUtil
2017-10-04 23:34:13 +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
f85fa772bf
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - move DbMigrationFactory.create() method
2017-10-04 21:06:55 +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
c6fc7a032d
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - DbOffline & ServerConfig
2017-10-04 19:44:29 +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
1da2382e45
No effective change - javadoc only
2017-10-03 15:38:17 +13:00
Rob Bygrave
a86af94a8c
Reduce logging level only - no functional change
2017-10-03 15:35:21 +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
fc996659f2
#1139 - NoSuchMethodError: javax.persistence.Embedded.prefix()Ljava/lang/String;
2017-10-03 11:02:38 +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
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
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