Skip to content

Commit

Permalink
Modular updates
Browse files Browse the repository at this point in the history
  • Loading branch information
GedMarc committed Feb 29, 2024
1 parent 5546417 commit 9722671
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Hibernate/hibernate-c3p0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
<artifactId>hibernate-core</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<dependency>
<groupId>com.guicedee.services</groupId>
<artifactId>jboss-logmanager</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions Hibernate/hibernate-c3p0/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
requires java.sql;
requires java.naming;
requires java.desktop;

requires org.slf4j;

requires java.management;

requires transitive org.hibernate.orm.core;
requires org.jboss.logging;
Expand Down
10 changes: 8 additions & 2 deletions Hibernate/hibernate-core/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@

exports org.hibernate.engine.jdbc.env.internal to org.jboss.logging;
exports org.hibernate.engine.jdbc.batch to org.jboss.logging;


exports org.hibernate.service.spi;
exports org.hibernate.engine.jdbc.connections.internal;
exports org.hibernate.internal.log;
exports org.hibernate.internal.util.config;


exports org.hibernate;
//exports org.hibernate.action.internal;
exports org.hibernate.action.spi;
Expand Down Expand Up @@ -351,7 +357,7 @@

//opens org.hibernate.jpa.boot.internal to com.fasterxml.jackson.databind;

exports org.hibernate.internal.util.config to com.hazelcast.all, com.hazelcast.hibernate;
// exports org.hibernate.internal.util.config to com.hazelcast.all, com.hazelcast.hibernate;

//exports org.hibernate.cache.internal;
//exports org.hibernate.internal.util;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ static <T extends Comparable<T>> Set<Class<T>> loadClassSet(ServiceLoader<T> loa

<T> Set<T> getLoader(Class<T> loaderType, @SuppressWarnings("unused") boolean dontInject, ServiceLoader<T> serviceLoader);

boolean isBuildingInjector();

/**
* Registers a module for scanning when filtering is enabled
*
Expand Down

0 comments on commit 9722671

Please sign in to comment.