Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2007-02-01 07:06:33 -0500
committermtaal2007-02-01 07:06:33 -0500
commita8eb8016b3577bab45918382ee1807bc6b68666e (patch)
tree22c16fcfda39489251cfe561eee576495983eed0
parent2879ac71a8598d21a6fb0027b048df3933224a0e (diff)
downloadorg.eclipse.emf.teneo-a8eb8016b3577bab45918382ee1807bc6b68666e.tar.gz
org.eclipse.emf.teneo-a8eb8016b3577bab45918382ee1807bc6b68666e.tar.xz
org.eclipse.emf.teneo-a8eb8016b3577bab45918382ee1807bc6b68666e.zip
[172462]
-rw-r--r--plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbDataStore.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbDataStore.java b/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbDataStore.java
index a0baac7bb..b79779160 100644
--- a/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbDataStore.java
+++ b/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbDataStore.java
@@ -11,7 +11,7 @@
* Martin Taal
* </copyright>
*
- * $Id: HbDataStore.java,v 1.12 2006/11/28 06:14:04 mtaal Exp $
+ * $Id: HbDataStore.java,v 1.13 2007/02/01 12:06:33 mtaal Exp $
*/
package org.eclipse.emf.teneo.hibernate;
@@ -84,7 +84,7 @@ import org.hibernate.tool.hbm2ddl.SchemaUpdate;
* HbDataStoreFactory in the HibernateHelper.
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.12 $
+ * @version $Revision: 1.13 $
*/
public class HbDataStore {
@@ -257,6 +257,9 @@ public class HbDataStore {
try {
EClass eClass = getPersistenceOptions().getEClassNameStrategy().toEClass(component.getComponentClassName(),
getEPackages());
+ if (eClass != null) {
+ log.debug("Found " + eClass.getName() + " as a component");
+ }
} catch (IllegalArgumentException e) {
return; // not a valud eclass;
}

Back to the top