Commit Graph

7541 Commits

Author SHA1 Message Date
Gail Badner 99a033c21c HHH-11202 : IllegalAccessException on Embeddable ID after serializing Getter in cache key 2017-01-12 09:36:50 -08:00
Rafael Winterhalter 4a32f1a0d5 Update Byte Buddy to v1.6.0. Use cache for type storage to avoid leaks. 2017-01-12 12:40:50 +02:00
Yordan Gigov 19469e8b4f HHH-11369 - gradle tasks fail to list 2017-01-12 12:28:19 +02:00
Fábio Ueno 380642bc79 HHH-11388 - Fix documentation typos 2017-01-12 12:19:40 +02:00
Fábio Ueno f87f1d5b79 Added missing backtick 2017-01-11 11:53:51 -05:00
Fábio Ueno 65ab56a827 Added missing double greater than signs 2017-01-11 11:53:51 -05:00
Fábio Ueno 9a62e55a4d Added missing backtick 2017-01-11 11:53:51 -05:00
Sanne Grinovero cb1faeb9b7 HHH-11382 Upgrade WildFly version used for integration tests to 10.1.0.Final 2017-01-11 15:51:12 +00:00
Vlad Mihalcea 491d7341ad HHH-11377 - ReflectHelper#getConstantValue should consider digits as well 2017-01-10 13:51:32 +02:00
Vlad Mihalcea 2b59aadc94 HHH-11236 - JPA hbm2ddl auto-generation creates ddl with invalid syntax for Unique Key with any MySQLDialect
Change test configuration to use update instead of create-drop
2017-01-10 09:08:44 +02:00
Vlad Mihalcea 22548f1127 HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
Restrict test case for SQL Server only
2017-01-09 17:13:36 +02:00
Vlad Mihalcea 8f5bc492e8 HHH-11236 - JPA hbm2ddl auto-generation creates ddl with invalid syntax for Unique Key with any MySQLDialect
Add replicating test case that works just fine
2017-01-09 16:07:52 +02:00
Vlad Mihalcea 2a441d7f2d HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
Add replicating test case
2017-01-09 13:32:09 +02:00
Chris Cranford f01055985e HHH-11364 - Checkstyle fixups. 2017-01-06 10:22:08 -05:00
CK Guven 883799082c HHH-11364 add null check for properties in middle embeddable components 2017-01-06 10:22:08 -05:00
Chris Cranford 9528d6c00c Checkstyle fix. 2017-01-06 10:00:08 -05:00
Gunnar Morling 7d3788c76a HHH-11309 Marking OSGi package imports for ByteBuddy as optional 2017-01-02 17:57:28 +01:00
Chris Cranford 652f85644f HHH-9108 - Fix PropertyAccessException when auditing an Embeddable that contains an associative collection. 2016-12-23 00:44:10 -05:00
Chris Cranford 61ce4b86ff HHH-9108 - Added test case. 2016-12-23 00:42:52 -05:00
Chris Cranford 1d41a3f761 HHH-9834 - Fix failure when deleting and inserting values with the same Map key. 2016-12-22 16:14:57 -05:00
Chris Cranford 36e75f4a4d HHH-9834 - Added additional test case scenarios 2016-12-22 16:14:57 -05:00
lsiu 56f7466d52 Fix HHH-11352 - the Pattern at buildShallowIndexPattern where "wordBoundary==true" should wrap the pattern properly with '\b' 2016-12-22 13:09:11 -05:00
Arnold Galovics dd9c68a862 HHH-11134 StringIndexOutOfBoundsException in BooleanTypeDescriptor fix 2016-12-22 13:01:33 -05:00
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