summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-15 03:30:23 (EDT)
committerEike Stepper2007-08-15 03:30:23 (EDT)
commit6434426a789a12a3aed34ea1ff37719fc14e69fc (patch)
tree03197f6c6a895a22085f31cea7b40eab4687f3b8
parent8bac29367108dcb933ec7b09fcb86c0182687bf1 (diff)
downloadcdo-6434426a789a12a3aed34ea1ff37719fc14e69fc.zip
cdo-6434426a789a12a3aed34ea1ff37719fc14e69fc.tar.gz
cdo-6434426a789a12a3aed34ea1ff37719fc14e69fc.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStoreWriter.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStoreWriter.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStoreWriter.java
index ba2f15b..5babaca 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStoreWriter.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStoreWriter.java
@@ -78,7 +78,6 @@ public class DBStoreWriter extends DBStoreReader implements IStoreWriter
CDOIDRange metaIDRange = cdoPackage.getMetaIDRange();
long lb = metaIDRange.getLowerBound().getValue();
long ub = metaIDRange.getUpperBound().getValue();
-
DBUtil.insertRow(connection, CDODBSchema.PACKAGES, id, packageURI, name, ecore, dynamic, lb, ub);
for (CDOClassImpl cdoClass : cdoPackage.getClasses())
@@ -97,7 +96,6 @@ public class DBStoreWriter extends DBStoreReader implements IStoreWriter
int classifierID = cdoClass.getClassifierID();
String name = cdoClass.getName();
boolean isAbstract = cdoClass.isAbstract();
-
DBUtil.insertRow(connection, CDODBSchema.CLASSES, id, packageURI, classifierID, name, isAbstract);
for (CDOClassProxy superType : cdoClass.getSuperTypeProxies())
@@ -113,7 +111,9 @@ public class DBStoreWriter extends DBStoreReader implements IStoreWriter
public void writeSuperType(int type, CDOClassProxy superType)
{
- DBUtil.insertRow(connection, CDODBSchema.SUPERTYPES, type, superType.getPackageURI(), superType.getClassifierID());
+ String packageURI = superType.getPackageURI();
+ int classifierID = superType.getClassifierID();
+ DBUtil.insertRow(connection, CDODBSchema.SUPERTYPES, type, packageURI, classifierID);
}
public void writeFeature(CDOFeatureImpl feature)
@@ -128,7 +128,6 @@ public class DBStoreWriter extends DBStoreReader implements IStoreWriter
boolean many = feature.isMany();
boolean containment = feature.isContainment();
int idx = feature.getFeatureIndex();
-
DBUtil.insertRow(connection, CDODBSchema.FEATURES, id, name, packageURI, classifierID, many, containment, idx);
}