144 Commits

Author SHA1 Message Date
Christian Beikov
ee52989647 Don't build session factory and entity manager eagerly and stop enforcing id class implements Serializable 2021-03-08 11:43:39 +01:00
Andrea Boriero
1927d1aa33 Merge branch 'master' into wip/6.0 2020-11-17 12:40:43 +01:00
Yoann Rodière
9616e24c80 HHH-14315 Add optional support for toolchains to the Gradle build
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Andrea Boriero
9cf4edfbee Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-26 08:14:01 +00:00
Sanne Grinovero
8f1873121e HHH-10715 Use the more efficient iterators 2020-10-25 21:33:26 +00:00
Andrea Boriero
798f327f68 Revert "fix issue with not compiling tests"
This reverts commit fc914ea647e92fe1e82d74f4ee5d566c4b29f3dd.
2020-07-30 18:32:38 +01:00
Andrea Boriero
fc914ea647 fix issue with not compiling tests 2020-07-30 18:08:35 +01:00
Nathan Xu
61cd51a4c8 get rid of javassist 2020-07-30 10:15:26 -05:00
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
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
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
ae4bc5e55d HHH-13685 Remove uses of deprecated classesDir 2020-04-01 09:53:13 -05:00
Andrea Boriero
fd6866f029 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_22 2020-01-22 19:34:38 +00:00
Sanne Grinovero
33fa24d935 HHH-13822 OSGi integration tests need to be able to download dependencies from Maven Central using HTTPS 2020-01-21 12:22:46 +00:00
Davide D'Alto
c4dc9b0d25 HHH-13704 Make javassist a compile time dependency again
This commit revert some of the changes so that we can release it in a micro
  without breaking application using Javassist.

  In the next minor it should be reverted.
2019-12-13 11:29:40 +00:00
Davide D'Alto
76d2672122 HHH-13704 Make Javassist an optional dependency
* Change the gradle scope to `provide`
  * Add the dependency to the OSGi test bundle

HHH-13704 Add Javassist to the dependencies for the OSGi test
2019-12-12 10:33:32 +00:00
Andrea Boriero
4b0da2444b Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_11 2019-11-08 14:24:48 +00:00
Sanne Grinovero
02089a5cce HHH-13696 Minor code refactoring and applying the Hibernate code style 2019-10-28 10:53:51 +00:00
Kaja Mohideen
051a7d9b7c HHH-13696 Use PU Info Classloader when booting in OsgiPersistenceProvider 2019-10-28 10:35:32 +00:00
Andrea Boriero
20f2002269 6 - fix compilation errors in envers and osgi projects 2019-09-12 10:42:33 +01:00
Yoann Rodière
a7006fa226 HHH-13415 Add more comments where we disable OSGi tests with JDK11
Karaf or Pax Exam (don't know which) has serious issues with JDK 11.0.3.
2019-05-31 14:11:47 +02:00
Guillaume Smet
c6671d504b HHH-13421 Disable OSGi testing for JDK 11+ 2019-05-29 22:57:52 +02:00
Fabio Massimo Ercoli
45083813bd HHH-12751 Remove hibernate-infinispan OSGi feature 2018-10-25 15:11:56 +02:00
Yoann Rodière
bf7f56e004 HHH-13022 Allow to fall back to the OSGi-provided TCCL during bootstrap
We previously erased that class loader, which is not a great idea, in
particular when we use libraries such as JAXB which rely on the TCCL, to
some extent.

Without this patch, we cannot make the OSGi integration work correctly
with Java 9 and above, because the JAXB APIs won't find the JAXB
runtime.
2018-10-22 17:05:46 +02:00
Yoann Rodière
6ef94f3ba7 HHH-13022 Include karaf logs into test output files 2018-10-22 17:05:46 +02:00
Yoann Rodière
c3c46b5019 HHH-13022 Re-enable OSGi tests when using JDK9/JDK10/JDK11 2018-10-22 17:05:45 +02:00
Yoann Rodière
eaf7785877 HHH-13022 Upgrade to Apache Karaf 4.2.1 2018-10-22 17:05:45 +02:00
Yoann Rodière
0a13b8d640 HHH-13022 Add missing versions to internal OSGi feature dependencies 2018-10-22 17:05:45 +02:00
Yoann Rodière
9726fde68d HHH-13022 Fix indentation in hibernate-osgi.gradle 2018-10-22 17:05:45 +02:00
Yoann Rodière
5fd97472b9 HHH-12946 Enable JAXB dependencies regardless of the JDK being used when building Hibernate ORM
Previously we would only add the dependency when building with JDK9+,
and we built all releases using JDK8.
This means the dependencies were useless, because they would never be
mentioned in the actual POMs published to users.
2018-10-17 11:43:03 +02:00
Sanne Grinovero
fcd3b56fdd HHH-13029 Avoid static singletons to hold on Strategy Registration Implementations 2018-10-12 23:25:50 +01:00
Guillaume Smet
0449c1a79c HHH-12793 Fix preexisting indentation issues 2018-07-12 12:11:53 +02:00
Guillaume Smet
9ebed55dd9 HHH-12793 Add a comment about why we ignore javax.activation for now 2018-07-12 12:11:53 +02:00
Fabio Massimo Ercoli
3d1d1d2d98 HHH-12793 Upgrade Karaf, pax-exam and reenable the OSGi tests 2018-07-12 12:11:53 +02:00
Rico Neubauer
2bd99e5f32 HHH-12553 - Prevent ConcurrentModificationException in OsgiClassLoader 2018-07-03 19:01:25 +01:00
Guillaume Smet
c5d0bfb57d HHH-12663 Remove an outdated Karaf configuration 2018-07-02 17:10:44 +02:00
Fabio Massimo Ercoli
260ec8d3fa HHH-12663 Include hibernate-osgi bundle only in hibernate-orm feature 2018-07-02 17:10:44 +02:00
Fabio Massimo Ercoli
54722fc344 HHH-12663 Upgrade gradle-karaf-plugin 2018-07-02 17:10:44 +02:00
Guillaume Smet
463937fcec Fix typo in OSGi gradle script 2018-06-27 17:37:02 +02:00
Andrea Boriero
e2b7317560 HHH-12474 - Make sure the JPA version is defined by a single property across build files 2018-04-11 21:54:21 +01:00
Steve Ebersole
dae31640a8 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
2018-03-22 13:25:12 -05:00
Steve Ebersole
65f42761d6 HHH-12133 - Create ManagedBeanRegistry and ManagedBean
- reapplied backwards compatibility wrt ExtendedBeanManager for WildFly
2018-01-16 15:45:06 -06:00
Steve Ebersole
d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole
c490e94755 HHH-2188 - Add Java 9 automatic module name hinting 2017-12-29 11:47:11 -06:00
Andrea Boriero
1e4d483e73 HHH-12177 - Disable generation of hibernate-infinispan jar 2017-12-22 12:00:34 -06:00
Andrea Boriero
132767b4fb HHH-12001 - Allow ORM to be built with Java 9 2017-09-21 22:10:05 +01:00
Brett Meyer
cf1f10336e HHH-11439 added javax.interceptor to OSGi feature dependencies 2017-02-01 19:56:13 -05:00
Sanne Grinovero
5e206666f0 HHH-11439 Switch from Geronimo JTA to Narayana JTA 2017-02-01 19:56:05 -05:00