Skip to content

Commit a0a7d53

Browse files
authored
Merge pull request #4 from Yu-Works/master
传递 ClassLoader
2 parents adea7ac + 3b8bee8 commit a0a7d53

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "com.IceCreamQAQ.SmartAccess"
7-
version = "1.0.0-DEV2"
7+
version = "1.0.0-DEV3"
88

99
repositories {
1010
mavenLocal()

framework/hibernate/hibernate5/src/main/kotlin/smartaccess/hibernate/HibernateService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ class HibernateService(
2323
config.properties["hibernate.hbm2ddl.auto"] = "update"
2424
entityManagerFactoryMap[name] = EntityManagerFactoryBuilderImpl(
2525
PersistenceUnitInfoDescriptor(config),
26-
HashMap<String,Any>()
26+
HashMap<String,Any>(),
27+
appClassloader
2728
).build()
2829
}
2930
}

0 commit comments

Comments
 (0)