Commit Graph

2355 Commits

Author SHA1 Message Date
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
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 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
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
Yann Diorcet a77dabdf7c DDL typo fix: Add only one space before unique keyword 2015-06-05 00:29:39 -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
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
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 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 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
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