diff options
author | mtaal | 2007-03-07 23:33:55 +0000 |
---|---|---|
committer | mtaal | 2007-03-07 23:33:55 +0000 |
commit | eab79c3cf068e218f5129ab266f3bb857ec26e99 (patch) | |
tree | 655bc363d6c4463e7b9e049ccd5173a0eca3ca02 | |
parent | 749eb83f4016103182861cfd6738763e7167fd30 (diff) | |
download | org.eclipse.emf.teneo-eab79c3cf068e218f5129ab266f3bb857ec26e99.tar.gz org.eclipse.emf.teneo-eab79c3cf068e218f5129ab266f3bb857ec26e99.tar.xz org.eclipse.emf.teneo-eab79c3cf068e218f5129ab266f3bb857ec26e99.zip |
Solved issue in that eobject was not handled
-rw-r--r-- | plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbUtil.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbUtil.java b/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbUtil.java index b92d9387f..5b5ad2bcf 100644 --- a/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbUtil.java +++ b/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbUtil.java @@ -11,7 +11,7 @@ * Martin Taal * </copyright> * - * $Id: HbUtil.java,v 1.12 2007/03/07 15:58:17 mtaal Exp $ + * $Id: HbUtil.java,v 1.13 2007/03/07 23:33:55 mtaal Exp $ */ package org.eclipse.emf.teneo.hibernate; @@ -44,7 +44,7 @@ import org.hibernate.property.PropertyAccessor; * Contains some utility methods. * * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ */ public class HbUtil { @@ -146,9 +146,10 @@ public class HbUtil { final String name = props.getProperty(Constants.PROP_NAME); HbDataStore eds = HbHelper.INSTANCE.getDataStore(name); if (eds != null) - return eds; + return eds; - final Properties hbProps = new Properties(props); + final Properties hbProps = new Properties(); + hbProps.putAll(props); hbProps.put(Environment.USER, doTrim(props .getProperty(Constants.PROP_DB_USER))); hbProps.put(Environment.PASS, doTrim(props |