Commit Graph

3000 Commits

Author SHA1 Message Date
Gail Badner 7764358c7f HHH-10341 - Move test to hibernate-entitymanager
(cherry picked from commit f32476e6c9)
2016-06-28 13:36:28 -07:00
Andrea Boriero 3d421f1595 HHH-10341 - Add test for issue
(cherry picked from commit 57b954d476)
2016-06-28 13:36:18 -07:00
Gail Badner ec8aa4ecc3 HHH-10843 - Move test to hibernate-entitymanager
(cherry picked from commit 61d73f6214)
2016-06-28 13:10:01 -07:00
Andrea Boriero 3ddd32d82d HHH-10843 - Add test for issue
(cherry picked from commit a3ed7010b6)
2016-06-28 13:09:48 -07:00
Gail Badner f6a6f35dd9 HHH-10648 : Backport corrections
(cherry picked from commit d407e73775)
2016-06-23 00:36:11 -07:00
Gail Badner 90c372aa95 HHH-10648 : No MultipleBagFetchException is thrown when fetching two bags eagerly
(cherry picked from commit 59c0d48f8d)
2016-06-23 00:35:51 -07:00
barreiro 879674cdf7 HHH-10708 - Fix test case 2016-06-22 12:39:53 -07:00
Gail Badner 9c840739db HHH-10708 : Fix bug due to backporting (SPI does not exist in 5.0) 2016-06-22 12:39:23 -07:00
Steve Ebersole 33e16f2788 HHH-10708 - Accessing a lazy collection in an enhanced class deletes it afterwards
(cherry picked from commit 0e1b79d2b5)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java

HHH-10708 : Corrections due to backporting

(cherry picked from commit 0f918b4d42)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
2016-06-22 12:39:23 -07:00
barreiro fffd2515a6 HHH-10708 - Test cases
(cherry picked from commit 9768cf21c5)
2016-06-22 12:39:23 -07:00
Gail Badner 5061741e52 HHH-10761 : Propagating NULL for a stored-procedure named parameters will not work for Oracle if there are other named parameters 2016-06-21 16:46:09 -07:00
Gail Badner 2690835f27 HHH-8999 : Changed references to SharedSessionContractImplementor to SessionImplementor
(cherry picked from commit 8bc779ef92)
2016-06-21 12:29:44 -07:00
Gail Badner cde859c57d HHH-8999 : NullPointerException when updating or deleting multiple entities of same type with non-comparable IDs
(cherry picked from commit 6853fdae70)
2016-06-21 12:29:33 -07:00
Gail Badner 52733a2869 HHH-8999 : Added test cases
(cherry picked from commit 280f93add3)
2016-06-21 12:29:23 -07:00
Vlad Mihalcea 0643f909e9 HHH-10826 Auxiliary Database Object no longer documented
HHH-10334 @Formula annotation javadoc contains database dependent sample usage

Created a new section related to automatic schema generation
2016-06-21 09:26:27 +03:00
Steve Ebersole ea9575294f HHH-10774 - SortedMap defined in .hbm.xml are not sortable
(cherry picked from commit 60aac117e6)
2016-06-19 12:10:52 -05:00
Gail Badner 0ba858b91d HHH-10277 - Correct test to refer to "attributeConverterDefinition" field for 5.0 2016-06-17 13:17:29 -07:00
Steve Ebersole e8e8538228 HHH-10277 - AttributeConverter not applied to attributes of an embeddable used as collection element
(cherry picked from commit b7f17ce898)
2016-06-17 13:16:06 -07:00
Steve Ebersole f4bc38f92f HHH-10277 - AttributeConverter not applied to attributes of an embeddable used as collection element
(cherry picked from commit 65886c045e)
2016-06-17 12:43:03 -07:00
Gail Badner 014d229028 HHH-10562 : ManagedEntity linked list broken when non-associated enhanced entity is evicted
(cherry picked from commit 7ed51f44dd)
2016-06-15 22:17:03 -07:00
Gail Badner 11928f3171 HHH-10375 : Add import required to backport
(cherry picked from commit bfc4289f12)
2016-06-15 17:47:12 -07:00
Gail Badner 1655f4556a HHH-10360 : Natural ID columns are nullable by default
(cherry picked from commit 10a035481d)
(cherry picked from commit 532b63042c)
2016-06-15 17:46:57 -07:00
Gail Badner 4b253dfad7 HHH-10360 : Added test cases
(cherry picked from commit 67c7858dd5)
2016-06-15 17:46:40 -07:00
Andrea Boriero ec7e2d88ef HHH-10375 - Fix adding an entity at index to list with @OrderColumn in detached Entity
(cherry picked from commit da0b46d61c)
2016-06-14 16:35:24 -07:00
Andrea Boriero cb00f86a4d HHH-10375 - Add test for issue
(cherry picked from commit 6e47c2840a)
2016-06-14 16:35:14 -07:00
Gail Badner 967e96631f HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services
(cherry picked from commit b74868d658)
2016-06-13 22:34:32 -07:00
Chris Cranford 0951a62286 HHH-10299 - Fix DOM4J entity-mode deprecation warning for Envers audited entities.
(cherry picked from commit be93105)
2016-06-13 23:35:55 -05:00
Gail Badner 51b24a12e5 HHH-10515 : Moved test to hibernate-entitymanager`
(cherry picked from commit 27ed69c2bc)
2016-06-13 19:58:46 -07:00
Andrea Boriero f2c17b605d HHH-10515 - Add test for issue
HHH-10515 - Fix Stored procedure execution fails to find column

HHH-10515 : Add test case using no JDBC DatabaseMetaData; move original test case to hibernate-core

HHH-10515 - Fix Stored procedure execution fails to find column

(cherry picked from commit 0eaf431ef6)

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

(cherry picked from commit c892df7aa9)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentImpl.java
2016-06-13 19:57:41 -07:00
Andrea Boriero e9e7a703e7 HHH-10352 - Fix HBM2DDL does not use described name for foreign key in join inheritance
(cherry picked from commit 2ea122aedd)
2016-06-13 17:17:04 -07:00
Gail Badner dc0f99c4f4 HHH-10352 : Fix unit test to work for 5.0 2016-06-13 17:15:38 -07:00
Andrea Boriero f601ed7662 HHH-10352 - Add test for issue
(cherry picked from commit 4afa8fb57d)
2016-06-13 17:07:57 -07:00
Timo Verhoeven 23c6ea6399 HHH-9676 - TypeSafeActivator.applyDDL doesn't process composing constraints when @NotNull is present
(cherry picked from commit 86e9efe788)

Conflicts:
	.gitignore
2016-06-13 16:48:15 -07:00
Andrea Boriero 358bed04ac HHH-10796 - Fix org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map
(cherry picked from commit 35cefeda2f)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/query/internal/AbstractProducedQuery.java

(cherry picked from commit dc32226aab)
2016-06-13 16:39:32 -07:00
Gail Badner 5be28c85a0 HHH-10796 : Correct to use org.hibernate.Query for backport
(cherry picked from commit 61bc59af15)
2016-06-13 16:35:39 -07:00
Andrea Boriero b0a0be1a26 HHH-10796 - Add test for issue
(cherry picked from commit 6027d8319e)
2016-06-13 16:35:21 -07:00
barreiro 87707e218b HHH-10551 - Enable lazy loading for attributes of bytecode enhanced entities 2016-06-10 16:43:02 -07:00
Gail Badner bf4e92fd0a HHH-10511: Restore and deprecate org.hibernate.property.access.spi.EnhancedGetterMethodImpl and EnhancedSetterImpl to maintain backward-compatibility 2016-06-10 15:33:15 -07:00
barreiro 8dd70236cf HHH-10245 - [enhancer] Do not expose ClassPool 2016-06-09 19:37:33 -07:00
barreiro ac9748adeb HHH-10642 - [enhancer] Use INVOKEVIRTUAL instead of INVOKESPECIAL 2016-06-09 19:37:33 -07:00
barreiro 5c567bb4bf HHH-10511 - drop EnhancedGetterMethod: use GetterMethod / GetterField instead 2016-06-09 19:37:33 -07:00
barreiro a24eecf7da HHH-10583 - [enhancer] also consider attribute type when finding the right mappedBy value 2016-06-09 19:37:32 -07:00
barreiro 36090f0a23 HHH-10540 - [enhancer] Add CompositeOwner interface only once 2016-06-09 19:37:32 -07:00
Gail Badner 1ed76e801b HHH-10287 - Cache keys no longer include the entity type 2016-06-07 15:30:27 -07:00
Gail Badner 18df49306e HHH-10679 HHH-10712 : Fix subselect fetching in load plans
(cherry picked from commit 9c29ec22c5)
2016-06-02 13:40:03 -07:00
Gail Badner 5c9c0c22ce HHH-10373 - Correct test to work for 5.0 2016-06-01 19:58:22 -07:00
Andrea Boriero a46a17181e HHH-10373 - Fix Sequence generator for idbag ignores generator parameters
(cherry picked from commit 030f442f3c)
2016-06-01 19:39:15 -07:00
Andrea Boriero a7f079aed3 HHH-10373 - Add test for issue
(cherry picked from commit a9e4eb4895)
2016-06-01 19:38:45 -07:00
Gail Badner 4504aa160c HHH-10757 : select new ..." with CAST( NULL AS ...) fails
(cherry picked from commit 885f76a92f)
2016-05-31 17:39:24 -07:00
Gail Badner 5e5cc14f52 HHH-10476 : Getting an entity with composite ID containing a detached entity fails if PersistenceContext contains a managed copy
(cherry picked from commit f2427fa28a)
2016-05-27 16:09:01 -07:00
Martin Simka 230a9bde87 [HHH-10596] add missing dialect-scope for oracle12c
(cherry picked from commit a634ccebba)
2016-05-25 22:38:17 -07:00
Danny02 f9d68a6b22 HHH-10612 - Check for support of RefCursor in Java 8
(cherry picked from commit 00db5af3db)
2016-05-25 21:51:30 -07:00
Gail Badner c57c564fa5 HHH-10766 : Correct test to use Session.createSQLQuery (session.createNativeQuery API is 5.2+)
(cherry picked from commit bec1ff8f83)
2016-05-25 15:28:48 -07:00
Dgray16 3ad5780256 HHH-10766 Resolve mapping 'type' parameter error
(cherry picked from commit 50b7882663)
2016-05-25 15:28:20 -07:00
Gail Badner 3ffb0d27d9 HHH-10756 : Move tests to hibernate-entitymanager
(cherry picked from commit 08a51523a2)
2016-05-24 17:32:28 -07:00
Gail Badner 5816b4ad9c HHH-10756 : StoredProcedureQuery with OUT param fails with Oracle when using named parameters
(cherry picked from commit 92dfd69937)
2016-05-24 17:32:15 -07:00
Chris Cranford 59c3c4f96b HHH-8507 - Fix SQL Server 2005 limit handler to be tolerant of carriage returns. 2016-05-12 08:48:48 -05:00
Andrea Boriero 2d903875d7 HHH-10678 - Backport Fix hbm hibernate-mapping's schema attribute is ignored 2016-05-12 10:45:48 +01:00
Andrea Boriero f20b3417d5 HHH-10678 - Add test for issue 2016-05-12 10:37:50 +01:00
Gail Badner a660996d4e HHH-9548 : Backport HHH-9548 to globally enable passing null as stored procedure parameter to Hibernate 5.0 2016-04-21 13:54:05 -07:00
Martin Simka 9a32b963b6 [HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest 2016-04-07 10:27:43 +03:00
Martin Simka 1266f35ecb [HHH-10587] skip NationalizedIgnoreCaseTest on db2 and postgresql(plus) as they don't support nString 2016-04-07 10:11:33 +03:00
Jan Martiska fde986778f HHH-10598 - Oracle JDBC driver can't handle entities with a one-character name in some cases 2016-04-06 17:53:39 +03:00
Martin Simka ea7c7da9f5 [HHH-10588] use H2Dialect in ConnectionsReleaseTest 2016-04-06 17:34:17 +03:00
Martin Simka df6efccd91 [HHH-10640] fix wrong expected statement on DB2 2016-04-06 16:02:49 +03:00
Martin Simka 971855188e [HHH-10641] Fix identifier is too long exception for test LongVarcharValidationTest 2016-04-05 18:17:22 +03:00
Janario Oliveira 419ae32756 HHH-10614 - Auto evict collection cache throws exception with null values 2016-03-16 12:54:25 +02:00
Janario Oliveira 337ee18b19 HHH-10608 - Avoid exception from Hibernate.initialize when lazy_no_transaction is enabled
(cherry picked from commit 7232b7ccd5)
2016-03-15 17:42:09 -07:00
Gail Badner 91bcc843e3 Revert "HHH-10608 - Avoid exception from Hibernate.initialize when lazy_no_transaction is enabled"
This reverts commit d79305164b.
2016-03-14 15:53:41 -07:00
Gail Badner 4c82bba071 Revert "HHH-10592 - Query with literal parameter and fails with attribute converter"
This reverts commit c76577af57.
2016-03-14 15:53:03 -07:00
Janario Oliveira c76577af57 HHH-10592 - Query with literal parameter and fails with attribute converter 2016-03-14 14:09:39 +02:00
Janario Oliveira d79305164b HHH-10608 - Avoid exception from Hibernate.initialize when lazy_no_transaction is enabled 2016-03-14 10:33:19 +02:00
Gail Badner c681e48bfe HHH-10269 : JDBC Statement is not closed if exception appeared during query execution
(cherry picked from commit bdb458a609)
2016-03-11 14:05:26 -08:00
Steve Ebersole 864ba023d5 HHH-9693 - H2 : Hibernate cannot validate it's own created schema 2016-03-11 09:40:35 -06:00
Steve Ebersole dafbd90ac2 HHH-9693 - H2 : Hibernate cannot validate it's own created schema 2016-03-11 09:16:06 -06:00
Steve Ebersole 74ae003d43 HHH-9693 - H2 : Hibernate cannot validate it's own created schema
(cherry picked from commit 3e00630808)
2016-03-11 09:07:53 -06:00
Vlad Mihalcea 99c1aa660f HHH-4161 - persistence.xml <jar-file> not following JSR220 spec
Switch to an OS-independent  way of checking absolute paths
2016-03-10 14:47:29 +00:00
Janario Oliveira ade2467844 HHH-10602 - Retrieve cached value with enable_lazy_load_no_trans throws an exception 2016-03-09 15:16:34 +02:00
Vlad Mihalcea 2dc6bd591b Fix InTest according to 5.0 branch Criteria API 2016-03-08 16:57:31 +02:00
Vlad Mihalcea b39081d9ba HHH-10593 - Avoid NullPointerException with auto_evict_collection_cache and many-to-many
Cherry pick from Janoiro PR
2016-03-08 16:46:37 +02:00
Janario Oliveira 29b8f6519c HHH-10593 - Avoid NullPointerException with auto_evict_collection_cache and many-to-many
Added verification to many-to-many relation
2016-03-08 16:46:21 +02:00
bdragan afa37ab085 Fixed HHH-10517: ClassCastException using Restrictions.in with child
classes in Criteria based on parent class.
2016-03-08 15:50:15 +02:00
Gail Badner 20352ed199 HHH-10563 : Significant String use/duplication associated with subselect fetch
(cherry picked from commit 3f37fff04a)
2016-03-07 18:20:00 -08:00
Gail Badner f212b50d7d HHH-10563 : Add trace logging of generated SubselectFetch query string
(cherry picked from commit b053116bb4)
2016-03-07 18:19:33 -08:00
Gail Badner 0f30ba660d HHH-10576 : Correct association in CascadeMergeToChildBeforeParentTest
(cherry picked from commit 5e30c2bf16)
2016-02-29 23:03:17 -08:00
barreiro 6a4128653a HHH-10554 - Fix NPE in dirty tracking generated code of bytecode enhanced @Embeddable entities
(cherry picked from commit c5104601e1)
2016-02-26 11:56:12 -06:00
Andrea Boriero ae25390006 HHH-10553 - ORM tries to create a unique constraint on a non existing table 2016-02-26 12:00:59 +00:00
Andrea Boriero 0d81283092 HHH-10553 - add test for issue 2016-02-26 12:00:59 +00:00
Steve Ebersole f3d40ffad1 fixed bad test code 2016-02-26 11:05:26 +00:00
Gail Badner 6420610ced HHH-10567 : Wrong table for formula if its property is mapped on a secondary table
(cherry picked from commit bdfe38b0c6)
2016-02-25 20:00:50 -08:00
Steve Ebersole 39ce4eee79 HHH-10499 - Can't set ConnectionProvider instance, regression
(cherry picked from commit f076b5823c)
2016-02-24 22:07:53 -06:00
Steve Ebersole 5ab0771f05 HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass
(cherry picked from commit a5cbe326d6)
2016-02-22 16:37:59 -06:00
Guillaume Smet 73abc5c05e HHH-10538 Fix the javadoc of TableInformation.getIndex(Identifier indexName) 2016-02-17 14:45:21 +00:00
Andrea Boriero 7ef7e200dc HHH-10529 - Fix test compile error 2016-02-16 15:46:46 +00:00
Steve Ebersole 6fefd737a1 HHH-10528 - use_nationalized_character_data global property is ignored
(cherry picked from commit 0fccf6b7bd)
2016-02-16 09:36:32 -06:00
Andrea Boriero 7c70a22c6c HHH-10529 - Fix SQLServer2008Dialect generate incorrect length of nvarchar 2016-02-16 15:08:16 +00:00
Andrea Boriero 6f6c72a08f HHH-10529 - Add test for issue 2016-02-16 15:08:09 +00:00
Andrea Boriero 706a3b0308 HHH-10521 - Fix Java 6 not compliant tests 2016-02-12 14:44:27 +00:00
Steve Ebersole e8f5891c53 HHH-10345 - HHH-3422 still a problem with oracle
(cherry picked from commit 177bbfe5e3)
2016-02-10 15:10:39 -08:00
Steve Ebersole 8af779ae62 HHH-10345 - HHH-3422 still a problem with oracle
(cherry picked from commit 90f4fd9d55)
2016-02-10 14:45:43 -08:00