From 1b4a355019d35fa6983e16a17ef3ea40df7515c4 Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 2 Jul 2019 11:55:20 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-18917=20=E5=B5=8C=E5=85=A5=E5=BC=8F?= =?UTF-8?q?=E9=83=A8=E7=BD=B210.0=E6=8A=A5=E9=94=99404+=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E5=90=8E=E6=A8=A1=E6=9D=BF=E8=AE=BF=E9=97=AE=E7=A9=BA=E7=99=BD?= =?UTF-8?q?=20=E8=A7=A3=E5=86=B3=20serviceloader=20=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E5=86=B2=E7=AA=81=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82=20?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=20third=20-=20hibernate=20=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E5=BC=8F=20hibernate=20=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...bernate.boot.registry.selector.StrategyRegistrationProvider} | 0 .../src/com/fr/third/org/hibernate/cfg/Environment.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename fine-ehcache/resources/META-INF/services/{org.hibernate.boot.registry.selector.StrategyRegistrationProvider => com.fr.third.org.hibernate.boot.registry.selector.StrategyRegistrationProvider} (100%) diff --git a/fine-ehcache/resources/META-INF/services/org.hibernate.boot.registry.selector.StrategyRegistrationProvider b/fine-ehcache/resources/META-INF/services/com.fr.third.org.hibernate.boot.registry.selector.StrategyRegistrationProvider similarity index 100% rename from fine-ehcache/resources/META-INF/services/org.hibernate.boot.registry.selector.StrategyRegistrationProvider rename to fine-ehcache/resources/META-INF/services/com.fr.third.org.hibernate.boot.registry.selector.StrategyRegistrationProvider diff --git a/fine-hibernate/src/com/fr/third/org/hibernate/cfg/Environment.java b/fine-hibernate/src/com/fr/third/org/hibernate/cfg/Environment.java index 5f19da9be..73d4037a0 100644 --- a/fine-hibernate/src/com/fr/third/org/hibernate/cfg/Environment.java +++ b/fine-hibernate/src/com/fr/third/org/hibernate/cfg/Environment.java @@ -192,7 +192,7 @@ public final class Environment implements AvailableSettings { GLOBAL_PROPERTIES.setProperty( USE_REFLECTION_OPTIMIZER, Boolean.FALSE.toString() ); try { - InputStream stream = ConfigHelper.getResourceAsStream( "/hibernate.properties" ); + InputStream stream = ConfigHelper.getResourceAsStream( "/fr-hibernate.properties" ); try { GLOBAL_PROPERTIES.load(stream); LOG.propertiesLoaded( ConfigurationHelper.maskOut( GLOBAL_PROPERTIES, PASS ) );