Commit Graph

127 Commits

Author SHA1 Message Date
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
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
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
Christian Schneider bb0b3e8c43 HHH-11425 - Karaf feature misses byte buddy dependency 2017-01-31 17:02:56 +02:00
Gunnar Morling 7d3788c76a HHH-11309 Marking OSGi package imports for ByteBuddy as optional 2017-01-02 17:57:28 +01:00
Brett Meyer de346827d0 HHH-11152 add bytebuddy to osgi testing-bundles.xml, explicitly import javassist in envers (temporarily) 2016-11-17 13:58:49 -05:00
Steve Ebersole 3040030bd8 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 19:15:08 -05:00
Chris Cranford 9f27f0fa2a HHH-10365 - Added org.hibernate.envers package to the manifest comment. 2016-05-26 16:18:03 -05:00
Chris Cranford ab0b44c569 HHH-10365 - Add Envers native and JPA test cases. 2016-05-26 16:00:49 -05:00
Chris Cranford 60b3ce796b HHH-10365 - Fixed test build dependency failure. 2016-05-26 15:38:24 -05:00
Brett Meyer d27acc33d1 HHH-10365 added envers to OsgiIntegrationTest 2016-05-26 12:05:47 -04:00
Brett Meyer 69bdf979cb HHH-10365 added OsgiClassLoaderService support for non-container-managed JPA, tweaked method overloading 2016-05-26 12:05:46 -04:00
Kankare Timo 585a8aa757 HHH-10365: Initializing ClassLoaderService in OsgiPersistenceProvider. 2016-05-26 12:05:46 -04:00
Chris Cranford 43a62ad477 HHH-10664 - Prep 5.2 feature branch - Correct other module tests to build properly. 2016-05-09 11:56:53 -05:00
Andrea Boriero 9ae57a6f7a remove hibernate-entitymanager project 2016-05-06 13:13:29 -05:00
Steve Ebersole 5e59ee8b1f HHH-10432 - hibernate 5.0.6 does not work with Aries JPA 2.3.0 2016-01-12 15:52:57 -06:00
Steve Ebersole b1d1a3c143 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA 2016-01-08 11:12:58 -06:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Brett Meyer 78b6d31848 HHH-10044 automatically add hibernate-core and hibernate-entitymanager Bundles to OsgiClassLoader 2015-08-26 15:10:33 -04:00
Brett Meyer 5941a047b0 HHH-10044 checkstyle fix 2015-08-25 08:34:10 -04:00