Radim Vansa
a21706bf02
HHH-11344 Testsuite speed-up
...
* reduce number of setups (@Before -> @BeforeClassOnce)
* remove sleeps related to JGroups flush (issue in a 6+ years old version)
* do not create new cache manager in CollectionRegionAccessStrategyTest#doPutFromLoadRemoveDoesNotProduceStaleDataInvalidation
* Share cache manager in some tests
* Replace system time with mocked time service where possible
* Replace sleeps with synchronization
* Disabled ConcurrentWriteTest.testMany (this is a stress test)
2016-12-22 12:40:25 +01:00
Radim Vansa
4ceb71f08a
Prevent NPE when running with log on trace level
2016-12-22 12:40:25 +01:00
Radim Vansa
20daac6ea7
HHH-11350 Intermittent failure in EntityCollectionInvalidationTest.testAll
2016-12-22 12:38:07 +01:00
Radim Vansa
2a4efd46ca
HHH-11350 Intermittent failure in testEvictAll/testRemoveAll
2016-12-22 12:38:07 +01:00
Radim Vansa
f59807554a
HHH-11339 Use UnorderedDistributionInterceptor for async replication
2016-12-22 12:38:07 +01:00
Radim Vansa
160f5ba863
HHH-11323 + HHH-11339
...
Evict during concurrent update and putFromLoad can result in stale entry in 2LC
PutFromLoads in replicated/distributed caches should propagate asynchronously
It would require additional effort to isolate only changes that fix
HHH-11323 and which just allow async propagation.
2016-12-22 12:38:07 +01:00
Radim Vansa
ba3677b690
HHH-11323 Update CorrectnessTestCase
2016-12-22 12:38:07 +01:00
Chris Cranford
cc56c9672b
HHH-9834 - Fix primary key generation for Map-based ElementCollections that use Lob.
2016-12-22 03:11:34 -05:00
Chris Cranford
4cbb53c17a
HHH-9834 - Added test cases.
2016-12-22 03:10:32 -05:00
Chris Cranford
f26488bc85
HHH-4712 - Fix identifier column mappings when entities use non-identifier properties named id.
2016-12-21 21:40:59 -05:00
Chris Cranford
1f090f3731
HHH-4712 - Added test case.
2016-12-21 21:40:59 -05:00
Andrea Boriero
6cb76b8a17
5.2.6
2016-12-20 13:33:10 +00:00
Andrea Boriero
e17fd6cf05
5.2.6
2016-12-20 10:23:13 +00:00
rhart
4b45fdf176
HHH-11346 - Upgrade build scan plugin to 1.3
2016-12-20 09:41:43 +00:00
rhart
3ce94fbb0c
HHH-11346 - Upgrade gradle to 3.2.1
2016-12-20 09:41:28 +00:00
Radim Vansa
c94df359d6
HHH-11304 Replace PutFromLoadValidator properly in CollectionRegionAccessStrategyTest
2016-12-19 23:48:45 -08:00
Radim Vansa
294ba74c76
HHH-11304 Invalidations are not cleared when transaction rolls back
...
* always use global transaction id (in transactional caches) or command invocation id (in non-transactional caches) to identifiy the invalidator
* don't use afterInvoke/afterUpdate/unlockItem to end invalidation as this is not called during rollback
** use Infinispan transaction handling or explicitly registered invalidation to hook into the process
** move invalidation calls to interceptor stack where we have the identifiers
* don't use deprecated methods for commands marshalling
2016-12-19 23:48:45 -08:00
Andrea Boriero
318473e59c
HHH-11278 - setMaxResult(0) should return an empty List
2016-12-19 22:51:06 -06:00
Andrea Boriero
d4d1a6b8d4
HHH-11278 - Add test for issue
2016-12-19 22:51:06 -06:00
Gail Badner
3a1cbf3280
HHH-11289 : Lazy-initializing a static Method and making accessible not thread-safe
2016-12-19 20:32:54 -08:00
Gail Badner
c3d1573fdf
HHH-11241 : checkstyle fixes
...
(cherry picked from commit 3805752731
)
2016-12-19 20:26:22 -08:00
Gail Badner
7469df8da1
HHH-11241 : Missing column when executing HQL and criteria query with secondary table
2016-12-19 17:00:05 -08:00
Gail Badner
28942c3f67
HHH-11241 : Missing column when executing HQL and criteria query with secondary table
2016-12-19 17:00:05 -08:00
Steve Ebersole
3906816ee2
HHH-11274 - EntityManagerFactoryImpl.getIdentifier uses deprecated version of getIdentifier
2016-12-19 16:36:48 -06:00
Chris Cranford
8002595e86
HHH-7940 - Remove unnecessary test case output.
2016-12-19 14:16:58 -05:00
Chris Cranford
8db194e8a6
HHH-7940 - Fix NullPointerException when using IndexColumn/OrderColumn without AuditMappedBy.
2016-12-19 14:16:58 -05:00
Chris Cranford
94f2401b3c
HHH-7940 - Added test cases.
2016-12-19 14:16:58 -05:00
Christian Beikov
a2781e6654
Fix for HHH-11340
2016-12-19 15:20:46 +00:00
Christian Beikov
7dc7fbe27f
Testcase for HHH-11340
2016-12-19 15:20:34 +00:00
Chris Cranford
087729c023
HHH-11324 - Fix LimitHandler parsing of subqueries in the select clause for SQLServer2005Dialect.
2016-12-16 12:52:50 -05:00
Chris Cranford
db1dfd6908
HHH-11324 - Added test cases.
2016-12-16 12:51:22 -05:00
Chris Cranford
1304541d94
HHH-11084 - Fix invalid SQL used in test cases.
2016-12-16 12:50:24 -05:00
Gail Badner
54f3409b41
HHH-11328 : Persist of transient entity in derived ID that is already in merge process throws javax.persistence.EntityExistsException
2016-12-15 11:57:52 -08:00
Andrea Boriero
9976edc853
HHH-11183 - Mixed line endings in schema creation script
2016-12-14 17:56:18 +02:00
stasal
b2df137ed6
HHH-11337 - Incorrect SQL generated when use both left join with unrelated entity and implicit join to another entity in select-clause
2016-12-14 16:24:38 +02:00
leonliao
f62d0d448c
HHH-11319 - The dirtyPropertyNames content is NOT logged properly
2016-12-14 14:20:08 +02:00
Vlad Mihalcea
d3dd28e474
HHH-11338 - Apply HHH-11194 fix to Dialect subclasses
2016-12-14 13:52:26 +02:00
Craig Andrews
10972ffe30
HHH-11265 - Improve potential JCacheRegionFactory subclassing
...
Add protected `getCacheManager()` and `getCacheProvider()` methods that subclasses can override.
Change fields and methods that would be useful to subclasses from package/private scope to protected.
2016-12-14 12:38:25 +02:00
Vlad Mihalcea
0bd7b8eac1
HHH-4959 - Concurrent HQL parsing blocks on ReflectHelper.classForName()
...
Exclude JPQL and Criteria API aliases when searching for a Java constant value
2016-12-14 10:05:30 +02:00
Rafael Winterhalter
159bc99a36
HHH-11321: fixes resolution of class names via build plugins
2016-12-14 08:55:01 +02:00
Jan Martiska
e10d87085d
HHH-11335 skip ByteArrayIdTest, PrimitiveByteArrayIdTest on Oracle
2016-12-12 20:18:45 -08:00
Jan Martiska
be39577188
HHH-11332 skip some tests from QueryAndSQLTest and QueryTest on Sybase
2016-12-12 19:58:46 -08:00
Jan Martiska
c393853308
HHH-11331 fix SQLLoaderTest on DB2
2016-12-12 19:38:38 -08:00
Gail Badner
87fe30b83b
HHH-11330 : Skip IdentifierGeneratorWithNaturalIdCacheTest on dialects that do not support identity columns
2016-12-12 19:16:14 -08:00
Gail Badner
b4a9be0adc
HHH-11329 fix tests using too long identifiers
2016-12-12 16:08:24 -08:00
Jan Martiska
a4cf282070
HHH-11329 fix tests using too long identifiers
2016-12-12 15:33:33 -08:00
Craig Andrews
916a93ada5
HHH-11293 - Consider enhanced entities with collections as being not unequivocally non-dirty
2016-12-12 17:45:44 +02:00
Craig Andrews
67f7be9a80
HHH-11288 - Execution project artifacts are always empty, so dependencies are never included
...
Get artifacts from project, not executionProject
2016-12-12 16:42:32 +02:00
Craig Andrews
f7bb312f90
HHH-11307 - Throw a sensible exception if the Enhancer cannot find the .class file
2016-12-12 15:20:39 +02:00
Chris Cranford
59870d0a14
HHH-7949 - Prevent lazy loading collections for bidirectional associations where not modified when withModifiedFlag is used.
2016-12-09 12:55:27 -05:00