From 1456146c969e661edf03b0f66e0664a2e74baf67 Mon Sep 17 00:00:00 2001 From: Vivek Mishra Date: Thu, 9 Jan 2014 14:58:04 +0530 Subject: [PATCH] Fix for #450 --- .../impetus/kundera/metadata/KunderaMetadataManagerTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jpa-engine/core/src/test/java/com/impetus/kundera/metadata/KunderaMetadataManagerTest.java b/src/jpa-engine/core/src/test/java/com/impetus/kundera/metadata/KunderaMetadataManagerTest.java index d274b0696..e51402e3f 100644 --- a/src/jpa-engine/core/src/test/java/com/impetus/kundera/metadata/KunderaMetadataManagerTest.java +++ b/src/jpa-engine/core/src/test/java/com/impetus/kundera/metadata/KunderaMetadataManagerTest.java @@ -26,6 +26,7 @@ import com.impetus.kundera.KunderaException; import com.impetus.kundera.metadata.entities.SingularEntityEmbeddable; import com.impetus.kundera.metadata.model.EntityMetadata; +import com.impetus.kundera.metadata.model.KunderaMetadata; import com.impetus.kundera.metadata.model.PersistenceUnitMetadata; import com.impetus.kundera.metadata.validator.GeneratedIdStrategyIdentity; @@ -42,6 +43,7 @@ public class KunderaMetadataManagerTest @Before public void setup() { + KunderaMetadata.INSTANCE.setApplicationMetadata(null); Persistence.createEntityManagerFactory(persistenceUnit); }