Commit Graph

5756 Commits

Author SHA1 Message Date
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
Svein c878889e64 HHH-8854 Create AttributeConverterDefinition even if AttributeConverter
is only implemented via superclass or interface
(cherry picked from commit b5845138e6)
2015-05-21 12:56:30 -05:00
Steve Ebersole 021122a2dc HHH-8804 - Ability to use parametrized type as AttributeConverter type parameter
(cherry picked from commit 48cafb2664)
2015-05-21 12:56:07 -05:00
Svein c2100677f1 HHH-8804 AttributeConverterDefinition now extracts the raw class from
parameterized type arguments to AttributeConverter
(cherry picked from commit 99e1250e4e)
2015-05-21 12:55:54 -05:00
Gail Badner 08daea67e9 HHH-9802 : Allow running hibernate-infispan unit tests using Infinispan 7.2.1.Final as a run-time dependency 2015-05-19 11:17:55 -07:00
Gail Badner e37039cefb HHH-9802 : Allow running hibernate-infispan unit tests using Infinispan 7.2.1.Final as a run-time dependency 2015-05-19 11:17:54 -07:00
Gail Badner 62c6cd9aba HHH-9802 : Allow running hibernate-infispan unit tests using Infinispan 7.2.1.Final as a run-time dependency 2015-05-19 11:17:54 -07:00
Andrea Boriero 517b392a54 HHH-9772 - Add @Retention( RUNTIME) so ListIndexBase annotation is available to AnnotationBinder 2015-05-19 19:15:07 +01:00
Gail Badner d9ab6ec42a 4.3.10.Final post release 2015-05-14 19:30:35 -07:00
Gail Badner 8ab7bc4e7b 4.3.10.Final release 2015-05-14 14:41:55 -07:00
Gail Badner 46a2a7a3e3 HHH-9796 : Add test configuration for Infinispan 7.2; update tests to use configuration specifed by hibernate.cache.infinispan.cfg 2015-05-13 12:37:52 -07:00
Gail Badner c5579a4640 HHH-9781 : Backport unit test change 2015-05-11 22:37:56 -07:00
Galder Zamarreño d9ba5502e2 HHH-9781 HHH-9776 Backport clear/evict and element count fixes to 4.3 2015-05-11 10:23:10 +02:00
Gail Badner aa5c8fa122 HHH-9758 : Broken SQL generated for dynamic batch fetching entities with a composite ID
(cherry picked from commit fd67d5fb5f8182f3e61240d18594b82e0d1c80fe)
2015-04-29 16:32:53 -07:00
Gail Badner 6fb6d7e3ad HHH-9752 : Deprecate ClassicAvgFunction, ClassicCountFunction, ClassicSumFunction 2015-04-28 13:48:06 -07:00
Gail Badner a6969ceb0a HHH-9737 : Miscellaneous bugs in unit tests when using non-default dialects 2015-04-21 12:12:59 -07:00
Gail Badner 49fed0938e HHH-9250 : BigIntegerSequenceGeneratorTest.testBasics fails on MS SQL Server 2012 2015-04-20 17:45:15 -07:00
Brett Meyer d2a57d036b HHH-9722 cleanup, removed StringHelper methods
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/TableMetadata.java
2015-04-17 15:53:05 -04:00
10urshin 8db83f5221 HHH-9722
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
	hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/XmlElementMetadata.java
	hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/AttributeTypeDescriptor.java
	hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/Oracle9iDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/pagination/FirstLimitHandler.java
	hibernate-core/src/main/java/org/hibernate/dialect/pagination/TopLimitHandler.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/ExtractedDatabaseMetaDataImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/NormalizingIdentifierHelperImpl.java
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaValidatorImpl.java
	hibernate-core/src/test/java/org/hibernate/dialect/SQLServer2005DialectTestCase.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/namingstrategy/NamingStrategyTest.java
	hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/internal/IlikeAuditExpression.java
2015-04-17 15:03:54 -04:00
Gail Badner 9bd04e7783 4.3.9.Final post release 2015-04-15 16:12:04 -07:00
Gail Badner ac0012b3d5 4.3.9.Final release 2015-04-15 14:53:57 -07:00
Gail Badner 792ef3559e HHH-9446 : ClassCastException on loaded entities under GlassFish 4.0 2015-04-09 14:34:41 -07:00
Gail Badner 36bf5d0ef9 HHH-8879 HHH-8994 : Embeddable with associations used as a Map key
(cherry picked from commit 64c3e4c783)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java
2015-03-26 18:07:37 -07:00
Steve Ebersole a736487745 HHH-9678 - Change built-in SqlTypeDescriptor impls to not auto-register themselves with SqlTypeDescriptorRegistry
(cherry picked from commit f6322b5cdd)

Conflicts:
	working-5.0-migration-guide.md
2015-03-23 11:26:38 -05:00
Guillaume Smet ec849edfad HHH-9497 Remove call to Ehcache ClassLoaderUtil.getStandardClassLoader()
It has been removed in Ehcache 2.8.3+.
2015-03-22 01:31:39 -04:00
Brett Meyer bea160a7ad HHH-8769 gracefully handle the lack of dynamic mode support in Envers 2015-03-22 00:49:08 -04:00
Felix Feisst 8d3d259963 Added regression test for HHH-8769 2015-03-21 23:54:10 -04:00
Steve Ebersole ff2b0fbb29 HHH-8697 - AttributeConverter not called when value is null;
HHH-9320 - AttributeConverter result ignored on extraction when ResultSet.wasNull

(cherry picked from commit 27e8aae279)
2015-03-21 15:56:04 -05:00
Steve Ebersole 14829949ad HHH-9599 - AnnotationException occurs when applying @Nationalized and @Convert annotations to the same field - adjust test for 4.3 branch 2015-03-20 17:03:37 -05:00
Steve Ebersole 44bc5f2f8c HHH-9599 - AnnotationException occurs when applying @Nationalized and @Convert annotations to the same field
(cherry picked from commit 38c004431d)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
	hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
2015-03-20 17:03:00 -05:00
Steve Ebersole b9aced4ab6 HHH-9605 - Query on an enum collection fails - minor changes
(cherry picked from commit 8a7bc2e7c1)
2015-03-20 15:42:58 -05:00
obr b48f93af71 HHH-9605: fix querying a collection of enums
(cherry picked from commit 001b841934)
2015-03-20 15:42:37 -05:00
obr 9bfceca718 HHH-9605: Test for querying a collection of enums
(cherry picked from commit 2c8ded5ff3)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EnumeratedTypeTest.java
2015-03-20 15:42:09 -05:00
obr 782dfb6cd7 HHH-9605: JPA Criteria Test for querying a collection of enums
(cherry picked from commit c271e03bcc)
2015-03-20 15:40:32 -05:00
Steve Ebersole fa891a3d36 HHH-9495 - @Convert support for collections - adjust test for 4.3 2015-03-20 15:17:10 -05:00
Steve Ebersole cedcdae4e7 HHH-9495 - @Convert support for collections
(cherry picked from commit f45b37da8e)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/CollectionPropertyHolder.java
2015-03-20 15:17:10 -05:00
Gail Badner 33e490e6b9 HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs
(cherry picked from commit 8284b9ae2c)
2015-03-20 12:54:05 -07:00
Gail Badner 9a7740002f HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs (test case)
(cherry picked from commit 8e758fcd6b)
2015-03-20 12:53:43 -07:00
Steve Ebersole 5b08a506f0 HHH-8866 - HQL Query with enum and @Convert
(cherry picked from commit bd8acaebca)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/type/AttributeConverterTest.java
2015-03-19 22:51:23 -07:00
Gail Badner 0403ee78af HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join
(cherry picked from commit 180e714b7c)
2015-03-19 22:09:59 -07:00