Commit Graph

5849 Commits

Author SHA1 Message Date
Andrea Boriero 5c86c4a805 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29 2020-04-09 07:37:11 +01:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Sanne Grinovero 6ea9844874 HHH-13935 Allow subclasses of StandardServiceRegistryBuilder to initialize a custom list of StandardServiceInitiator(s) 2020-04-06 16:10:44 +01:00
Yoann Rodière bee15c498f HHH-13925 Fix malformed @author tags in javadoc
You're not supposed to use unescaped "<" or ">".

This wasn't detected by checkstyle in Gradle 5, but it is now, and that
fails the build.
2020-04-06 16:04:55 +02:00
Yoann Rodière aebf9d192f HHH-13925 Fix invalid javadoc syntax
This wasn't detected by checkstyle in Gradle 5, but it is now, and that
fails the build.
2020-04-06 16:04:55 +02:00
Sanne Grinovero e1aa8714c0 HHH-13930 Minor formatting improvements and comments 2020-04-05 23:07:39 +01:00
Stuart Douglas 0955394c82 HHH-13930 Allow for creation of unloaded proxies in ByteBuddyProxyHelper 2020-04-05 23:07:22 +01:00
Sanne Grinovero a975d0de19 HHH-13929 Add test coverage using PersistenceUtilHelper within exising test for Enhanced Proxies 2020-04-05 22:26:34 +01:00
Sanne Grinovero 2ac0d2ee91 HHH-13929 Improve the PersistenceUtilHelper to allow dealing with Enhanced Proxies 2020-04-05 22:26:31 +01:00
Steve Ebersole 40d0c8580e Merge remote-tracking branch 'upstream/master' into wip/6.0
- up to the point of upgrading Gradle version for wrapper to 5.6.3
2020-04-01 11:32:00 -05:00
Yoann Rodière 2f32169249 HHH-13689 Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
https://docs.gradle.org/5.0-milestone-1/release-notes.html#deprecated-osgi-plugin
2020-04-01 10:54:56 -05:00
Yoann Rodière cee0fce043 HHH-13685 Replace uses of deprecated classifier property in Jar tasks with archiveClassifier 2020-04-01 09:53:13 -05:00
Andrea Boriero 2f98e4bfe8 Fix ToOne @Fetch(FetchMode.SELECT) 2020-04-01 14:44:25 +01:00
Nathan Xu 5f83662226 HHH-13889 fix the issue that inline string literal in Criteria is not escaped 2020-04-01 13:29:55 +01:00
Andrea Boriero 8971843626 Fix compilation errors after merge 2020-04-01 11:01:37 +01:00
Andrea Boriero 2c127bdbe3 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_27 2020-04-01 10:40:03 +01:00
Steve Ebersole 00beab3ba9 Support for SQL script (import.sql) handling as part of schema tooling 2020-03-31 13:50:04 -05:00
Gail Badner e1d2aecef7 HHH-13910 : MySQL57Dialect selected by automatic dialect resolution when using MySQL 8.0 database 2020-03-26 21:02:44 -07:00
Gail Badner caded6cd40 HHH-13910 : Added and corrected tests 2020-03-26 20:59:55 -07:00
Gail Badner a54d657d98 HHH-13891 : ProxyFactory should not be built if any ID or property getter/setter methods are final 2020-03-25 18:36:05 -07:00
Gail Badner 3427bc8414 HHH-13891 : Added test 2020-03-25 18:36:05 -07:00
Steve Ebersole eae3a4a0a6 fix issue with Criteria queries not defining selections explicitly. should use the (single) root as the selection. 2020-03-23 08:28:56 -05:00
Andrea Boriero ade760d71a Fix compilation errors after merge 2020-03-20 11:07:21 +00:00
Andrea Boriero 3476e82122 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_26 2020-03-20 08:01:20 +00:00
Nathan Xu 7e2987ac79 HHH-13877 - Make @SortNatural by default 2020-03-19 14:41:05 -05:00
Nathan Xu cf46163958 Fix a subtle double-checked locking issue 2020-03-19 14:02:50 -05:00
Nathan Xu df0aa1eb2e Fix a subtle double-checked locking issue 2020-03-19 14:02:50 -05:00
romainmoreau b5443deab3 Drop constraints using CASCADE
Co-Authored-By: William Cekan <wcekan@oath.com>
2020-03-19 13:58:26 -05:00
Romain Moreau b35ccc8e37 HHH-13711: drop constraints enabled for H2 2020-03-19 13:58:26 -05:00
Nathan Xu 620dcc62c0 HHH-13756 renaming and internal implementation tweaking 2020-03-19 13:27:09 -05:00
Nathan Xu 12c272a9cd make use of JUnit5's ParameterizedTest to avoid some testing code duplication 2020-03-19 13:27:09 -05:00
Nathan Xu a9c2ea3a46 add 'Criteria' testing 2020-03-19 13:27:09 -05:00
Nathan Xu e2ddd800ac finish both 'loader' and 'HQL' testing 2020-03-19 13:27:09 -05:00
Nathan Xu a3dce5f00a HHH-13756 simplify EntityGraphNavigator's navigate() to never return null value 2020-03-19 13:27:09 -05:00
Nathan Xu d4746da853 HHH-13756 fix some bug in EmbeddableFetchImpl 2020-03-19 13:27:09 -05:00
Nathan Xu 979e146f55 HHH-13756 enrich hql testing class 2020-03-19 13:27:09 -05:00
Nathan Xu 3b9c1cd777 HHH-13756 add a hql testing skeleton 2020-03-19 13:27:09 -05:00
Nathan Xu 94b8d8a128 HHH-13756 rename 'NavigateResult' class name to 'Navigation' 2020-03-19 13:27:09 -05:00
Nathan Xu 335c1ecd75 HHH-13756 implement entity graph in v6 2020-03-19 13:27:09 -05:00
Nathan Xu 62e9a674ad fix bug that newly created 'tableGroupJoin' is not added to its 'joinedGroup' 2020-03-19 13:17:02 -05:00
Nathan Xu 70b6de476c implement ResourceRegistryStandardImpl#convert to get rid of 'todo' 2020-03-19 13:12:47 -05:00
Nathan Xu adc87b7908 various cosmetic code improvements 2020-03-19 13:12:12 -05:00
Steve Ebersole b3254a2fa6 SQM 'insert select', 'insert values', and 'update' queries 2020-03-19 13:01:49 -05:00
gavinking 02cd346d3f add additional HQL bulk tests
- failing test for secondary table update
- failing test for embeddable update
- passing test for secondary table delete
2020-03-19 13:01:49 -05:00
gavinking e90207e651 remove unused class 2020-03-19 13:01:49 -05:00
gavinking c787dae475 Minor cleanups to SqlAstTranslators
- rename SqlAstInsertSelectTranslator to SqlAstInsertTranslator
- use simplified for loops
2020-03-19 13:01:49 -05:00
gavinking 0381da76b9 Test for insert values 2020-03-19 13:01:49 -05:00
gavinking 95ff568b3d Add support for HQL 'insert ... values ...' 2020-03-19 13:01:49 -05:00
gavinking 10f333943d tests for HQL insert/update 2020-03-19 13:01:48 -05:00
gavinking 5f2745a503 HQL 'insert ... select' and 'update'
- fill in the implementation of HQL insert ... select
- clean up grammar for HQL insert/delete/update
- fix syntax for 'set' clause of HQL update
- fix translation of set value expression in HQL update
- tentative fix for attribute resolution with repeated entities
2020-03-19 13:01:48 -05:00