Skip to content

Commit 3406a45

Browse files
committed
JNG-5999 Rdbms transformation optimalized
1 parent f166d74 commit 3406a45

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

judo-tatami-asm2rdbms/src/main/java/hu/blackbelt/judo/tatami/asm2rdbms/Asm2Rdbms.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ public static Asm2RdbmsTransformationTrace executeAsm2RdbmsTransformation(Asm2Rd
177177
WrappedEmfModelContext asmModelContext = wrappedEmfModelContextBuilder()
178178
.log(log)
179179
.name("ASM")
180+
.useCache(parameter.useCache)
181+
.validateModel(false)
180182
.resource(parameter.asmModel.getResource())
181183
.build();
182184

@@ -212,12 +214,6 @@ public static Asm2RdbmsTransformationTrace executeAsm2RdbmsTransformation(Asm2Rd
212214
// run the model / metadata loading
213215
executionContext.load();
214216

215-
// Use cache
216-
if (parameter.useCache) {
217-
((EmfModel) executionContext.getProjectModelRepository()
218-
.getModelByName(asmModelContext.getName())).setCachingEnabled(true);
219-
}
220-
221217
EtlExecutionContext asm2rdbmsExecutionContext = etlExecutionContextBuilder()
222218
.source(UriUtil.resolve("asmToRdbms.etl", parameter.scriptUri))
223219
.parameters(ImmutableList.of(

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
<java-embedded-compiler-version>1.1.0.20240410_084923_98db74a1_develop</java-embedded-compiler-version>
8383

84-
<judo-tatami-core-version>1.1.4.20240414_042056_ec303c5b_develop</judo-tatami-core-version>
84+
<judo-tatami-core-version>1.1.4.20241105_155324_8114ee53_feature_JNG_5999_Performance</judo-tatami-core-version>
8585

8686
<!-- Model versions -->
8787
<judo-dao-api-version>1.0.4.20240411_140837_58d4ecbd_develop</judo-dao-api-version>

0 commit comments

Comments
 (0)