Commit Graph

5740 Commits

Author SHA1 Message Date
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
Gail Badner 181faee517 HHH-9549 : Selecting treated root generates invalid HQL (added tests)
(cherry picked from commit 8a42f8a8ae)
2015-03-13 17:03:18 -07:00
Gunnar Morling 4bbf4cd1db HHH-9451 Propagating entity entry extra state when using identity id generation strategy 2015-03-13 12:04:51 +01:00
Gail Badner 7a247e114e HHH-9333 : TypeMismatchException when using composite-id and natural-id mappings
(cherry picked from commit 965e044850)
2015-03-12 23:41:44 -07:00
Gail Badner 7b40799948 HHH-9642 : Join fetch not performing join fetch for @Embeddable with @OneToMany
(cherry picked from commit 6c404c30f7)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/EmbeddedTest.java
2015-03-12 12:30:54 -07:00
Steve Ebersole a337150f0d HHH-8911 - ClassCastException between CompositeCustomType and ComponentType
(cherry picked from commit a0a9a4d1e8)
2015-03-11 22:05:29 -07:00
Brett Meyer 55973e1595 hibernate-osgi test debugging README 2015-03-10 12:24:59 -04:00
Etienne Miret 7d6989edcc HHH-9247 Attribute "name" of named-attribute-node maps to "value" of annotation. 2015-03-09 11:45:27 +00:00
Etienne Miret d791dcbb41 HHH-9247 Add test for parsing named-attribute-nodes in orm.xml. 2015-03-09 11:45:17 +00:00
Sanne Grinovero caade8f7e9 HHH-9648 Upgrade to HikariCP v. 2.3.3 (Java 6 compatible edition) 2015-03-06 22:46:18 +00:00
Sanne Grinovero cd9eeb295f HHH-8788 removed unnecessary warning related to follow-on locking with Criteria and LockMode.NONE 2015-03-06 15:40:39 +00:00
Steve Ebersole 9e84c1fa23 HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls 2015-03-05 17:17:51 -06:00
Steve Ebersole fa157745b2 HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls 2015-03-05 17:17:51 -06:00
David Pilato ef3f00ad9f buildSessionFactory() should return a sessionFactory
The example does not compile for obvious reason :)
2015-03-05 16:22:35 +00:00
Brett Meyer 7acd1ebdf1 HHH-9639 support unwrapping HikariCPConnectionProvider as DataSource 2015-03-04 23:03:07 -05:00
Gail Badner 27ac1dbbe4 HHH-9457 : EntityGraph with order by using Oracle10gDialect
(cherry picked from commit 9337f73185)
2015-02-20 17:41:12 -08:00
Kamil Szymanski ff8c75cbea HHH-9601 ordering column name fix in table schema in example 7.8 2015-02-20 11:14:31 -05:00