Commit Graph

5795 Commits

Author SHA1 Message Date
Steve Ebersole 1a73125845 HHH-10512 - Fix symlink handling for documentation tasks
(cherry picked from commit b4165d9530)
2016-02-11 14:23:43 -06:00
Brett Meyer 94214f3488 HHH-10346 cleanup 2015-12-04 01:09:30 -05:00
Guillaume Nodet 0af33132a4 [HHH-10346] [ENTESB-4495] Hibernate and Bundle ClassLoaders out of sync on Bundle Refresh 2015-12-04 01:07:20 -05:00
Radim Vansa d0831d4511 HHH-10182 Backport HHH-7898 for JTA environment only
* made access to the synchronization concurrency-safe
* use Caches.withinTx as transaction wrap
2015-10-19 17:48:09 +02:00
Radim Vansa dbb30213ed HHH-10182 Backport HHH-7898 for JTA environment only
* fixed possible NPE
2015-10-16 15:26:16 +02:00
Radim Vansa 5d74afbc2d HHH-10182 Backport HHH-7898 for JTA environment only
* using ConcurrentHashMap
* cleaning all in evictAll()
* cache check after getValue() == null from sync
2015-10-16 12:28:52 +02:00
Radim Vansa a42d9444fc HHH-10182 Backport HHH-7898 for JTA environment only
* this fix works only for JTA transactions! (JDBC transactions behavior
  was not altered)
* removed cluster loader from default configuration since this can
  insert already evicted entries to the cache, and with current version
  of Infinispan its use is not justified (configuration was outdated)
2015-10-13 13:45:50 +02:00
Gail Badner 5912f65120 HHH-9541 : NullPointerException at AbstractClassTransformerImpl#transform 2015-09-01 21:04:24 -07:00
Steve Ebersole 1d5dcf4ad3 HHH-9908 - Regression in naming collection join tables 2015-08-19 10:25:35 -05:00
Gail Badner 55eb4a1186 HHH-7070 : Put operations in transactions and added cleanup code (test case only) 2015-08-18 16:51:03 -07:00
Richard Tingstad f02d5b4375 HHH-7070 Fixed some SybaseASE15Dialect function definitions (dateadd, datediff, datepart, atn2)
(cherry picked from commit 7eebb0f73d)
2015-08-18 16:50:45 -07:00
amaeda f39b9ddb37 HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 6f37a2ee6b)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java

HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 046426b619)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
2015-08-18 15:01:02 -07:00
Steve Ebersole 51a8bc7ba3 HHH-9908 - Regression in naming collection join tables 2015-08-15 08:26:58 -05:00
Radim Vansa 631c057d45 HHH-9928 Pending put leaks when the entity is not found in DB 2015-08-12 16:31:54 +02:00
Gail Badner 3fcf745967 4.3.11.Final post release 2015-08-05 22:07:01 -07:00
Gail Badner 972a4f79b6 4.3.11.Final release 2015-08-05 20:52:33 -07:00
Steve Ebersole 99f1dedea9 HHH-9869 - SizeExpression toString is misleading
(cherry picked from commit 45dd596c4f)
2015-08-05 17:08:35 -07:00
Peter 6c3e1d3f8d HHH-9869 - fix the order in which SizeExpression.toString() emits size and property so that the toString of a SizeExpression is logically correct
(cherry picked from commit ad704a194e)
2015-08-05 17:08:15 -07:00
Steve Ebersole 524f7f60c5 HHH-8615 - Shared type parameters results in inconsistent internal model (especially with DynamicParameterizedType) 2015-08-04 21:16:34 -05:00
Daniel Gredler 55a85d6a66 Test for HHH-8615 (no fix).
(cherry picked from commit 8c8e729b3d)
2015-08-04 21:16:34 -05:00
Gail Badner 649f4a32a6 HHH-7573 : minor correction to test to work in 4.3 branch 2015-07-28 21:22:15 -07:00
Gail Badner a80c823981 HHH-7573 : Re-work test case to be similar to org.hibernate.test.instrument tests 2015-07-28 20:37:09 -07:00
Gail Badner 14179c354b HHH-7573 : Improve fix readability and test case 2015-07-28 20:36:56 -07:00
ballm d29a3ba88b HHH-7573 Added check for handle LazyPropertyInitializer.UNFETCHED_PROPERTY
Added test to check that the change handles the various possible scenarios.
Test requires build time instrumentation.

(cherry picked from commit e7475f12b0)
2015-07-28 20:36:08 -07:00
Gail Badner a837540220 HHH-5255 : Add imports to test 2015-07-24 19:47:04 -07:00
Gail Badner fd760dcf2e HHH-5255 : Merge detached entity failed when the instrumented lazy property is initialized
(cherry picked from commit c00d4609ef)
2015-07-24 19:23:02 -07:00
Andrei Ivanov 3908215685 Test for HHH-5255
(cherry picked from commit e0347f81e8)
(cherry picked from commit 3d21604602)
2015-07-24 19:22:48 -07:00
Gail Badner 1c331dddf6 HHH-9637 : Join is reused when 2 explicit joins are used for the same ToOne association
(cherry picked from commit 6bb8d03595)
2015-07-21 17:13:01 -07:00
Brett Meyer 932c2fe121 CONTRIBUTING.md cleanup 2015-06-26 17:38:49 -04:00
Gail Badner acf765dad8 HHH-2851 : ParameterTranslationsImpl fails to correctly determine parameter type
(cherry picked from commit d0d0963c18)
2015-06-17 15:43:24 -07:00
Gail Badner 66c193f511 HHH-9862 : Multiple TREAT operators does not work properly for joined inheritance (test case)
(cherry picked from commit 1ec7688782)
2015-06-15 12:56:22 -07:00
Gail Badner c37a87953a HHH-9518 : Remove LOG from MultipleSessionCollectionWarningTest (only used in 5.0) 2015-06-11 16:42:40 -07:00
Gail Badner 87ddd73ae6 HHH-9518 : Add tests for new warnings
(cherry picked from commit 5eb4c0bdc5)

HHH-9518 : Corrections to test to work pre-5.0
2015-06-11 16:09:16 -07:00
Gail Badner 0854a0473f HHH-9518 : Exception handling around collection session access needs to be improved
(cherry picked from commit f4f04901e2)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java

HHH-9518 : Corrections to test to work for pre-5.0
2015-06-11 12:42:05 -07:00
Andrea Boriero 5ed5934207 HHH-9757 - Fix Incorrect image path generated in HTML rendering removing useRelativeImageUris = false from devguide task, fixing image urls 2015-06-10 15:19:45 +01:00
Belev ccb7050225 Fixed typos in Chapter 5. Basic O/R Mapping
Fixed typo in Chapter 5 - 5.1.1 Entity.

Fixed key-property column name.

Added missing parameters in set methods.

Fixed typos.

Fix typo

Removed wrong whitespace.

Fixed section associations to many to one as used in the section.

Removed wrong whitespace.

Fix typo

Removed 'with' duplication.
2015-06-05 00:45:38 -04:00
vydn 9c9541f1ac Update preface.xml
Change link from caveatemptor.hibernate.org (not working)
to http://downloads.jboss.org/hibernate/caveatemptor/ (working)
2015-06-05 00:43:23 -04:00
Yann Diorcet a77dabdf7c DDL typo fix: Add only one space before unique keyword 2015-06-05 00:29:39 -04:00
Laurent Martelli 9baa5c22b0 Missing space 2015-06-05 00:27:32 -04:00
Andrea Boriero 06c08d9949 HHH-9805 - Column name specified in @JoinColumn is not quoted with option hibernate.globally_quoted_identifiers=true 2015-05-28 09:33:51 +01:00
Gail Badner 72cb591580 HHH-9777 : Copy tests from AbstractDereferencedCollectionTest into subclasses
(cherry picked from commit 4e2f7aeae4)
2015-05-27 12:18:52 -07:00
Gail Badner 6e90972196 HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (test case changes only)

(cherry picked from commit 93f56ecf5d)
2015-05-27 12:18:42 -07:00
Gail Badner 55d8b8fd1e HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (mark test as FailureExpected due to partial fix)

(cherry picked from commit e07eef3db1)
2015-05-27 12:18:20 -07:00
Gail Badner 44ea991a10 HHH-9777 : Dereferenced collections are not processed properly (test cases)
(cherry picked from commit 82cdc82a48)
2015-05-27 12:18:00 -07:00
Steve Ebersole 765b39cf2e HHH-9629 - l2 cache key constructed wrong for entity with inheritance when fetching lazy property 2015-05-27 11:54:01 -05:00
Nicolas Noffke 8d6c318797 HHH-9629 Use root entity name for constructing cache key 2015-05-27 11:54:01 -05:00
Andrea Boriero 21f7c44e68 HHH-9287 - Fix Pooled optimizer identifiers clash with INSERT rows calling sequence directly 2015-05-27 14:27:22 +01:00
barreiro bc382dde74 HHH-9806 Backport fix for bytecode enhancement dirty tracking not working when PersistentAttributeInterceptor is not injected 2015-05-21 21:06:57 +01:00
Steve Ebersole d9495474ef HHH-8854 - Could not extract ParameterizedType representation of AttributeConverter definition 2015-05-21 13:14:12 -05:00
Svein 6ea3464163 HHH-8854 Resolve any TypeVariables to Class or ParameterizedType when
creating AttributeConverterDefinition
(cherry picked from commit bb2833bafc)
2015-05-21 12:56:40 -05:00