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
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