Commit Graph

7509 Commits

Author SHA1 Message Date
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
Chris Cranford 1081c02c6b HHH-7949 - Added test case. 2016-12-09 12:55:27 -05:00
Craig Andrews b0f6f77d74 HHH-11287 Include requiresDependencyResolution in the Maven plugin descriptor 2016-12-08 11:04:36 +02:00
Craig Andrews 1a36ff0b3e HHH-11294 - NPE in org.hibernate.jpa.internal.util.PersistenceUtilHelper.isInitialized(PersistentAttributeInterceptable) 2016-12-08 10:31:47 +02:00
Radim Vansa f4f50aa5c8 HHH-11271 Disable testContestedPutFromLoad because of short timeout 2016-12-08 10:08:22 +02:00
Craig Andrews 5f8db1066d HHH-11282 - Support m2e/Eclipse integration in hibernate-enhance-maven-plugin 2016-12-07 20:36:18 -06:00
Jan Martiska cff4ea1ce6 HHH-11295 - Some improvements to EntityJoinTest 2016-12-07 17:47:40 +02:00
Jan Martiska a369120504 HHH-11315 - EnhancerTest fails on Oracle databases 2016-12-07 15:51:14 +02:00
Radim Vansa ed804d500e HHH-11318 - Fix Infinispan Javadoc documentation typos
Revert after/before -> afterQuery/beforeQuery in documentation
2016-12-07 14:18:06 +02:00
Jan Martiska eaf5b10cf1 HHH-11314 - BasicHibernateAnnotationsTest.testInheritFiltersFromMappedSuperclass fails on MS SQL Server 2016-12-07 14:05:14 +02:00