Commit Graph

6993 Commits

Author SHA1 Message Date
Andrea Boriero da0b46d61c HHH-10375 - Fix adding an entity at index to list with @OrderColumn in detached Entity 2016-06-14 15:28:36 -07:00
Andrea Boriero 6e47c2840a HHH-10375 - Add test for issue 2016-06-14 15:28:36 -07:00
Chris Cranford 77a4a9563f HHH-10811 - Fix character encoding issues with Enver's XML mappings when JVM encoding isn't UTF-8. 2016-06-14 11:36:31 -05:00
Chris Cranford e2343f873a HHH-10824 - Fix query stream API to support returning R rather than Object[] when selecting one type. 2016-06-14 10:51:08 -05:00
Vlad Mihalcea e9b48a881d Change PreparedStatementSpyConnectionProvider so that it works with any given ConnectionProvider 2016-06-14 13:52:35 +03:00
Vlad Mihalcea 6142f92d2f Improve the PreparedStatement assertion mechanism to rely on Mockito solely 2016-06-14 12:50:43 +03:00
Chris Cranford be93105e9a HHH-10299 - Fix DOM4J entity-mode deprecation warning for Envers audited entities. 2016-06-13 23:29:38 -05:00
Chris Cranford 69b8879e94 HHH-7510 - Fix LazyInitializationException for ManyToMany when deleting and global_with_modified_flag is enabled. 2016-06-13 22:23:17 -05:00
Andrea Boriero 0eaf431ef6 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
2016-06-13 19:26:40 -07:00
Chris Cranford dde7a5d1a5 HHH-10841 - Fix columns with generated annotation not being tracked by Envers. 2016-06-13 19:18:11 -05:00
Andrea Boriero 2ea122aedd HHH-10352 - Fix HBM2DDL does not use described name for foreign key in join inheritance 2016-06-13 16:58:32 -07:00
Andrea Boriero 4afa8fb57d HHH-10352 - Add test for issue 2016-06-13 16:58:32 -07:00
Chris Cranford 61e767c4bf HHH-9128 - Correct documentation regarding EnversHibernateToolTask. 2016-06-13 17:20:33 -05:00
Andrea Boriero 35cefeda2f HHH-10796 - Fix org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map 2016-06-13 14:02:47 -07:00
Andrea Boriero 6027d8319e HHH-10796 - Add test for issue 2016-06-13 14:02:47 -07:00
Vlad Mihalcea 8513a55255 HHH-10822 - Wrong signature for SharedSessionContract#setJdbcBatchSize 2016-06-13 18:59:27 +03:00
Andrej Golovnin 28af8cb95a HHH-10835 The hash code calculation of the EntityKey should also include the hash code of the root entity name. 2016-06-13 12:21:40 +01:00
Chris Cranford 5318cef733 HHH-10803 - Fix test to assert based on exception typing. 2016-06-11 16:02:25 -05:00
Chris Cranford 131127a498 HHH-10803 - Fix getParameter methods to be JPA compliant with thrown exception types. 2016-06-11 16:02:24 -05:00
Chris Cranford 42f3028dca HHH-10833 - JPA NoResultException and NonUniqueResultException not thrown from getSingleResult. 2016-06-11 15:56:36 -05:00
Gail Badner ec86d2d446 HHH-10511 : Restore and deprecate org.hibernate.property.access.spi.EnhancedGetterMethodImpl to maintain backward-compatibility 2016-06-10 14:31:01 -07:00
Vlad Mihalcea a599d4fc1d HHH-10797 - PostgreSQL81Dialect does not honor the lock timeout settings
HHH-10799 - Add PostgreSQL 9.5 Dialect which supports the SKIP LOCKED clause
HHH-10816 - SQLServer2005Dialect does not use NOWAIT for aliases
HHH-10817 - AbstractHANADialect should support the NOWAIT directive in the FOR UPDATE clause
2016-06-10 19:22:00 +03:00
Andrea Boriero 3d74c45e1d HHH-10820 - Fix InformationExtractorJdbcDatabaseMetaDataImpl quoted table names 2016-06-10 13:52:55 +01:00
Andrea Boriero c713c56f6c HHH-10820 - Add test for issue 2016-06-10 13:15:55 +01:00
Andrea Boriero 93a1a1f531 HHH-10427 - Modify test 2016-06-09 18:53:52 +01:00
Andrea Boriero 1beb6ec27b HHH-10427 - Fix Checkstyle error 2016-06-09 18:49:45 +01:00
Sanne Grinovero dfa3f52e25 HHH-10427 Make sure to cache Provided services in the fast-access map as well 2016-06-09 11:58:31 -05:00
Sanne Grinovero f7174c9207 HHH-10427 Protect from double initialization and from concurrent destroy actions 2016-06-09 11:58:31 -05:00
Sanne Grinovero b626f289b7 HHH-10427 All access to mutable fields needs lock protection 2016-06-09 11:58:31 -05:00
Sanne Grinovero 5a3260fb02 HHH-10427 Binding to alternative implementations need to be a final field 2016-06-09 11:58:31 -05:00
Gail Badner 9ecc646df2 HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services 2016-06-09 11:58:31 -05:00
Andrea Boriero c1fde98aee HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services 2016-06-09 11:58:31 -05:00
Andrea Boriero 493793a299 HHH-10427 - Add test for issue 2016-06-09 11:58:31 -05:00
barreiro 86727515f4 HHH-10245 - [enhancer] Do not expose ClassPool 2016-06-09 10:52:13 -05:00
barreiro d95cecd91b HHH-10642 - [enhancer] Use INVOKEVIRTUAL instead of INVOKESPECIAL 2016-06-09 10:52:13 -05:00
barreiro 68169968a5 HHH-10511 - drop EnhancedGetterMethod: use GetterMethod / GetterField instead 2016-06-09 10:52:13 -05:00
barreiro c33735108a HHH-10583 - [enhancer] also consider attribute type when finding the right mappedBy value 2016-06-09 10:52:13 -05:00
barreiro 37b9a0c903 HHH-10540 - [enhancer] Add CompositeOwner interface only once 2016-06-09 10:52:13 -05:00
Vlad Mihalcea 4d9cd0a32d HHH-10808 - Update documentation according to 5.2 changes
Document Session-level JDBC batch size setting and add a new example for fetching a projection using Query.stream
2016-06-08 11:40:52 +03:00
Vlad Mihalcea 4d02a61999 HHH-10361 - Child module osgi does not exist in hibernate-tutorials 2016-06-07 17:15:18 +03:00
Vlad Mihalcea 5963183c4a HHH-10808 - Update documentation according to 5.2 changes 2016-06-07 16:14:34 +03:00
Matthias Kurz 78de650efe HHH-10643 - Attribute 'foreignKeyDefinition' of @javax.persistence.ForeignKey ignored by schema exporter 2016-06-07 11:36:30 +03:00
Dionis Argiri 2abf9ddac4 HHH-10805 - fix hierarchy of PostgreSQL dialects. 2016-06-07 11:17:15 +03:00
Andrea Boriero 30ad787c9e HHH-10802 - Fix Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign key 2016-06-06 16:51:57 +01:00
Andrea Boriero e03d4d1f88 HHH-10802 - Add test for issue 2016-06-06 16:51:57 +01:00
Alex Belyaev 816c97613d HHH-9512: Avoid creation of invalid managed -> managed entity mapping in MergeContext when traversing cascade loop 2016-06-06 17:31:08 +03:00
Gail Badner 62ac35213f HHH-10679 HHH-10712 : Fix subselect fetching in load plans
(cherry picked from commit d444be1fdbf3618ce1f52b6ea8b8812fbfd795db)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessingContextImpl.java
2016-06-02 13:03:43 -07:00
Vlad Mihalcea 545930c39f HHH-1594 - Add on-delete="cascade" support to unidirectional *ToOne relationships. 2016-06-02 16:53:24 +03:00
Martin Simka c579c8b451 HHH-10756 fix procedure name in test 2016-06-02 08:01:24 +03:00
Anthony Foulfoin db6832fc1f HHH-10786 - Add MySQL 5.7 JSON datatype support 2016-06-02 07:52:11 +03:00