diff options
author | Eike Stepper | 2012-11-01 15:09:37 +0000 |
---|---|---|
committer | Eike Stepper | 2012-11-01 15:09:37 +0000 |
commit | 07222369448a147404dee6321c4f01dc484b4762 (patch) | |
tree | ec2a0b7e1706da5e24a9b889f21870a61d92b270 /plugins/org.eclipse.emf.cdo.server.db/src/org | |
parent | bcecb636171c08d76f5616f3a5b11e5acfd5a220 (diff) | |
download | cdo-07222369448a147404dee6321c4f01dc484b4762.tar.gz cdo-07222369448a147404dee6321c4f01dc484b4762.tar.xz cdo-07222369448a147404dee6321c4f01dc484b4762.zip |
[393111] [DB] Oracle SQL doesn't allow "AS" keyword for table alias drops/I20121101-1110
https://bugs.eclipse.org/bugs/show_bug.cgi?id=393111
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.db/src/org')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java index b9bfeed3fa..6a1d3fa791 100644 --- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java +++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java @@ -165,7 +165,7 @@ public abstract class AbstractHorizontalMappingStrategy extends AbstractMappingS long fromCommitTime, long toCommitTime) throws IOException { StringBuilder builder = new StringBuilder(); - builder.append(" WHERE a_t."); //$NON-NLS-1$ + builder.append(" WHERE \"a_t\"."); //$NON-NLS-1$ builder.append(CDODBSchema.ATTRIBUTES_CREATED); builder.append(" BETWEEN "); //$NON-NLS-1$ builder.append(fromCommitTime); @@ -184,7 +184,7 @@ public abstract class AbstractHorizontalMappingStrategy extends AbstractMappingS out.writeCDOClassifierRef(eClass); IDBTable table = classMapping.getDBTables().get(0); - DBUtil.serializeTable(out, connection, table, "a_t", attrSuffix); + DBUtil.serializeTable(out, connection, table, "\"a_t\"", attrSuffix); for (IListMapping listMapping : classMapping.getListMappings()) { |