Commit Graph

43 Commits

Author SHA1 Message Date
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
Rico Neubauer 2bd99e5f32 HHH-12553 - Prevent ConcurrentModificationException in OsgiClassLoader 2018-07-03 19:01:25 +01: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
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
Brett Meyer 9870b5967f HHH-10044 automatically add hibernate-core and hibernate-entitymanager Bundles to OsgiClassLoader 2015-08-24 23:23:16 -04:00
Steve Ebersole 9e063ffa25 HHH-9837 - Remove reliance during annotation binding on org.hibernate.internal.util.ClassLoaderHelper
HHH-9841 - Redesign org.hibernate.property.PropertyAccessorFactory
2015-06-04 14:12:17 -05:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Sanne Grinovero 4c690a8839 HHH-9706 Review concurrency of ClassLoaderService and warn against reuse 2015-04-02 18:32:52 +01:00
Steve Ebersole 599c10cd5a HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-26 09:57:49 -05:00
Steve Ebersole a92ddea9ca HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) - Gunnar's feedback 2015-03-26 00:25:52 -05:00
Steve Ebersole 8b9fc2d63a HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-19 15:36:49 -05:00
Steve Ebersole c7f58ab57e HHH-9488 - Move scanning from HEM to core 2014-11-07 15:36:44 -06:00
Steve Ebersole 66ce8b7fb5 HHH-9466 - Drop metamodel package from source 2014-10-30 07:43:55 -05:00
Sanne Grinovero de16eaf5a8 HHH-9258 OsgiSessionFactoryService does not handle ServiceContributors 2014-07-08 17:07:29 +01:00
Brett Meyer 629b653cc7 HHH-8922 ClassLoaderServiceImpl#getResources should use LinkedHashSet to
preserve ordering
2014-02-07 10:03:39 -05:00
Brett Meyer 09b2f11afb HHH-8655 Classloader conflicts with embedded OSGi frameworks 2013-12-16 14:13:34 -05:00
Brett Meyer 3ff64a55c5 HHH-8763 OsgiServiceUtil#getServiceImpls broken 2013-12-06 14:58:42 -05:00
Brett Meyer 5acd232e10 HHH-8761 Hibernate OSGi 4.3.0.CR1 can't discover services 2013-12-02 14:24:58 -05:00
Brett Meyer 685e33ae0c HHH-8759 removed java 7 dependency in OsgiClassLoader 2013-12-02 10:19:08 -05:00
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole 8ec17e68e7 HHH-8741 - More checkstyle cleanups 2013-11-23 00:06:06 -06:00
Brett Meyer 834a71bc6d HHH-8721 CoreMessageLogger conflicts 2013-11-19 18:09:28 -05:00
Brett Meyer e135566c0e HHH-8646 use ServiceTracker in OsgiServiceUtil 2013-10-28 12:40:45 -04:00
Brett Meyer 1c1dd913dd HHH-8633 register synch in OsgiJtaPlatform 2013-10-22 22:12:13 -04:00
Brett Meyer 9e5ba931fb HHH-8553 hibernate-osgi needs to support alternative locations for
hibernate.cfg.xml
2013-09-24 23:58:16 -04:00
Brett Meyer c620eaa952 HHH-8378 Cleanup during Bundle#stop. Added shutdown unit test. 2013-07-24 11:43:20 -04:00
Brett Meyer 58622f3e10 HHH-7996 arquillian-based OSGi unit test, minor CL fixes 2013-07-01 16:38:20 -04:00
Brett Meyer 24f1a15d07 HHH-8238 OsgiJtaPlatform null pointer exception 2013-05-16 11:46:04 -04:00
Brett Meyer d67a96e813 HHH-8225 EMF cannot be created, closed, then re-created in OSGi 2013-05-06 19:56:13 -04:00
Brett Meyer 04fe84994d HHH-7995 Added support for TypeContributors in OSGi. Integrated with
envers
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiPersistenceProvider.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java
2013-05-01 00:05:03 -04:00
Steve Ebersole 20866585f3 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-30 14:40:44 -05:00
Brett Meyer 0edd7b75b8 HHH-7943 C3P0 and Proxool OSGi support 2013-04-29 11:51:02 -04:00
Brett Meyer 30d63bf58f HHH-7995 Auto-discovery of Hibernate extension points in OSGi 2013-04-29 11:51:02 -04:00
Brett Meyer 06bb009dc6 HHH-8160 Support unmanaged JPA in 4.3.x 2013-04-09 09:57:38 -04:00
Brett Meyer 73891e06d5 HHH-8160 Corrected OSGi scanner 2013-04-09 09:57:37 -04:00
Brett Meyer d68dcd9ae6 HHH-7993 Support jar scanning in OSGi 2013-04-04 15:02:26 -04:00
Brett Meyer e9e29a40be HHH-8096 Re-work the OSGi class loading concepts
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/HibernatePersistence.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/HibernateBundleActivator.java
2013-03-27 15:04:48 -04:00
Brett Meyer 5f8ba65ce1 HHH-8053 HibernateBundleActivator should not register itself as a
PersistenceProvider
2013-03-05 16:47:05 -05:00
Brett Meyer 1a20b129ca HHH-7994 Improve OsgiClassLoader performance
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
2013-02-18 15:48:42 -05:00
Brett Meyer 4d68ddf7b0 HHH-7991 Correct all instances of
Thread.currentThread().getContextClassLoader()
2013-02-14 10:44:36 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00