Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2007-04-21 09:00:34 +0000
committermtaal2007-04-21 09:00:34 +0000
commit3782ac6398b2169ce4676864dbef5beb4d3d8f05 (patch)
tree747c5c16063d71ecd801cb10e9bdef938d5ff87c
parentf949e7e419a2813f0a9f9fff52eb8bc332efe2b3 (diff)
downloadorg.eclipse.emf.teneo-3782ac6398b2169ce4676864dbef5beb4d3d8f05.tar.gz
org.eclipse.emf.teneo-3782ac6398b2169ce4676864dbef5beb4d3d8f05.tar.xz
org.eclipse.emf.teneo-3782ac6398b2169ce4676864dbef5beb4d3d8f05.zip
Made HbDataStore.initialize non-final
Organised imports
-rw-r--r--plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/HbDataStore.java8
-rw-r--r--plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/IdentifierCacheHandler.java5
2 files changed, 5 insertions, 8 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 3998b7721..ef005e868 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.14.2.1 2007/04/17 16:00:48 mtaal Exp $
+ * $Id: HbDataStore.java,v 1.14.2.2 2007/04/21 09:00:34 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.14.2.1 $
+ * @version $Revision: 1.14.2.2 $
*/
public class HbDataStore {
@@ -143,7 +143,7 @@ public class HbDataStore {
private HbContext hbContext = new HbContextImpl();
/** Initializes this Data Store */
- public final void initialize() {
+ public void initialize() {
// check a few things
if (getEPackages() == null)
throw new HbMapperException("EPackages are not set");
@@ -181,8 +181,6 @@ public class HbDataStore {
log.debug("Registering datastore with persistent classes");
HbHelper.INSTANCE.registerDataStoreByPC(this);
-
- System.err.println(mappingXML);
// wait for the session factory until the database is (re)created
if (sessionFactory != null && !sessionFactory.isClosed())
diff --git a/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/IdentifierCacheHandler.java b/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/IdentifierCacheHandler.java
index 1c833aeb5..aa92976a2 100644
--- a/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/IdentifierCacheHandler.java
+++ b/plugins/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/IdentifierCacheHandler.java
@@ -11,7 +11,7 @@
* Martin Taal
* </copyright>
*
- * $Id: IdentifierCacheHandler.java,v 1.4.2.1 2007/02/11 19:05:39 mtaal Exp $
+ * $Id: IdentifierCacheHandler.java,v 1.4.2.2 2007/04/21 09:00:34 mtaal Exp $
*/
package org.eclipse.emf.teneo.hibernate.mapping.identifier;
@@ -26,7 +26,6 @@ import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.xmi.XMLResource;
@@ -35,7 +34,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
* actions to clean the maps.
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.4.2.1 $
+ * @version $Revision: 1.4.2.2 $
*/
public class IdentifierCacheHandler {

Back to the top