Commit Graph

3184 Commits

Author SHA1 Message Date
Andrea Boriero 1558eb73a6 HHH-10837 - with jpaMetaModelPopulationSetting.DISABLED the MetadataContext is not created 2016-06-28 15:52:12 +02:00
Andrej Golovnin 248d9cca14 HHH-10837 Add new setting to disable/enable scanning for the static metamodel. 2016-06-28 15:52:12 +02:00
Andrea Boriero 83eb8b0f76 HHH-10341 - Fix failing test 2016-06-28 15:19:03 +02:00
Andrea Boriero 04f1fcc762 HHH-10341 - Fix Specification violation in Implementation of TupleElement 2016-06-28 15:19:03 +02:00
Andrea Boriero 57b954d476 HHH-10341 - Add test for issue 2016-06-28 15:19:03 +02:00
Vlad Mihalcea f59dfa2522 HHH-10889 - Fix unit tests failing on Oracle 2016-06-28 15:56:01 +03:00
Vlad Mihalcea e779f6ae16 HHH-10886 - The follow-on-locking Oracle mechanism should consider UNION as well 2016-06-28 15:33:45 +03:00
mharray 253820a289 HHH-10874 - @Where annotation is not processed with "Extra-lazy" loading for bidirectional collections
For bidirectional collections, the  where clause is now considered when calculating the size() of the LazyCollectionOption.EXTRA annotated collections
2016-06-23 11:55:25 +03:00
Vlad Mihalcea eec01edcca HHH-10876 - DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting 2016-06-23 10:31:51 +03:00
Gail Badner 59c0d48f8d HHH-10648 : No MultipleBagFetchException is thrown when fetching two bags eagerly 2016-06-23 00:05:07 -07:00
Andrea Boriero ad5c0f6376 HHH-10860 - Fix Query#scroll() throws NPE 2016-06-22 16:23:54 +02:00
Andrea Boriero 1e5a022e93 HHH-10860 - Add test for issue 2016-06-22 16:23:54 +02:00
Andrea Boriero 6c80bc4b08 HHH-10839 - Fix checkstyle errors 2016-06-22 15:48:48 +02:00
Gail Badner 60bfef093a HHH-10761 : Moved test case to hibernate-entitymanager 2016-06-21 17:15:31 -07:00
Gail Badner 6853fdae70 HHH-8999 : NullPointerException when updating or deleting multiple entities of same type with non-comparable IDs 2016-06-21 12:11:36 -07:00
Gail Badner 280f93add3 HHH-8999 : Added test cases 2016-06-21 12:11:36 -07:00
Sanne Grinovero 59a3b4587e HHH-10839 Restore some lost backwards compatibility (#1418)
* HHH-10839 Restore some more selected deprecated APIs

* HHH-10839 Restore backwards compatibility for org.hibernate.Query contract

* HHH-10839 Missing override in the new org.hibernate.query.Query interface
2016-06-21 13:09:10 -05:00
Emmanuel Bernard b11d10d742 HHH-10813 Replace AssertionFailure with HibernateException when collection not processed by flush 2016-06-21 17:15:46 +03:00
Martin Prebio 4604258746 Fix Javadoc typo 2016-06-21 17:05:44 +03:00
Joël Marty b13fffee6c HHH-10238: Derby MultiTableBulkIdStrategy uses non-existant temporary tables
- DerbyDialect.java: make getDefaultMultiTableBulkIdStrategy() return a LocalTemporaryTableBulkIdStrategy
2016-06-21 16:20:00 +03:00
Andrea Boriero aa6ab6d074 HHH-10870 - Fix Parameter lookup for Iterable fails on Criteria API 2016-06-20 20:23:06 +02:00
Andrea Boriero c8acf1ed9e HHH-10870 - Add test for issue 2016-06-20 18:47:50 +02:00
Vlad Mihalcea 69ee03a79c 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-20 13:26:34 +03:00
Steve Ebersole 60aac117e6 HHH-10774 - SortedMap defined in .hbm.xml are not sortable 2016-06-19 12:08:20 -05:00
Steve Ebersole b112e5af3f HHH-10864 - Allow ORM to be built with Java 9 2016-06-18 15:12:23 -05:00
Steve Ebersole fdd15307e0 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 13:40:44 -05:00
Steve Ebersole 015be3df6e HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 13:40:44 -05:00
Steve Ebersole b7f17ce898 HHH-10277 - AttributeConverter not applied to attributes of an embeddable used as collection element 2016-06-16 11:10:44 -05:00
Nikita 309b1b27b0 HHH-10516 - Incorrect coalesce function for InformixDialect
HHH-10846 - InformixDialect has incorrect substring function
2016-06-16 16:24:59 +03:00
Gail Badner 7ed51f44dd HHH-10562 : ManagedEntity linked list broken when non-associated enhanced entity is evicted 2016-06-15 22:05:10 -07:00
Chris Cranford 66172dd30e Checkstyle fixups. 2016-06-15 23:21:32 -05:00
Gail Badner 10a035481d HHH-10360 : Natural ID columns are nullable by default 2016-06-15 16:54:11 -07:00
Gail Badner 67c7858dd5 HHH-10360 : Added test cases 2016-06-15 16:46:04 -07:00
Piotr Findeisen 832b62f7bb HHH-9486: Use follow-on locking when paging only 2016-06-15 18:57:29 +03:00
Vlad Mihalcea 097abe8be1 Externalize the ConnectionProvider delegate logic out of PreparedStatementSpyConnectionProvider 2016-06-15 06:46:31 +03:00
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 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
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
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
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