Commit Graph

5726 Commits

Author SHA1 Message Date
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
Kamil Szymanski 9ca003a843 HHH-9600 remove outdated info about cache concurrency strategies support 2015-02-20 11:14:29 -05:00
Gail Badner 9091497bce HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join (test case)
(cherry picked from commit 47294034e7)
2015-02-18 13:24:16 -08:00
Gail Badner 2e5f80bc4d HHH-9621 : Add HQL query to warning about positional parameter usage
(cherry picked from commit 0215008851)
2015-02-18 11:32:32 -08:00
Gail Badner f552e48a64 HHH-9597 : Criteria creates invalid column aliases 2015-02-12 13:45:39 -08:00
Gail Badner 2384d7a7dc HHH-9597 : Criteria creates invalid column aliases (test case) 2015-02-12 13:41:07 -08:00
Gail Badner f3a8ba6351 HHH-9468 : Add documentation about enabling NamingStrategyDelegator implementations 2015-01-28 18:44:42 -08:00
Gail Badner f07181e079 HHH-9468 : Add documentation about enabling NamingStrategyDelegator implementations 2015-01-28 02:23:47 -08:00
Gail Badner b6861d1fe8 HHH-9523 : EnumeratedTypeTest - select from dual causes test failures on mssql, postgresql, db2 and sybase
(cherry picked from commit 264b0be40e)
2015-01-21 16:54:09 -08:00
Brett Meyer 218851e6fe HHH-9528 close InputStreams in jpamodelgen JpaDescriptorParser 2015-01-21 15:55:14 -05:00
Gail Badner 8e84c7d896 HHH-9091 : Collection deleted due to orphan removal fails with constraint violation
(cherry picked from commit f1a9a9f006)
2015-01-21 00:39:11 -08:00
Brett Meyer b238d7b1ee HHH-8494 cleanup 2015-01-20 10:46:55 -05:00
hernan c241404262 HHH-8494: Misleading log info during batch execution.
* Added a boolean variable to indicate if during addToBatch method the
batchSize is reached and there is more than one batch execution.
* The logging about performing a batch execution is moved to
performExecution method.
* The logging indicating that there is no statement to execute in batch
is performed only if there was no previous batching execution.
2015-01-20 10:46:54 -05:00
Eric Haas 7a45d89c2d HHH-9043
Added the ability to customize the modified field name for audited fields.
2015-01-19 17:12:23 -05:00
Gail Badner 9cc4e0ea2f HHH-9573 : Add EntityManager test case illustrating usage of query cache
(cherry picked from commit 3cc8cb3113)
2015-01-16 15:14:00 -08:00