Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 223652 Details for
Bug 393111
[DB] Oracle SQL doesn't allow "AS" keyword for table alias
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
queryXRefs for 4.2 patch
file_393111.txt (text/plain), 1.87 KB, created by
Christophe Bouhier
on 2012-11-16 06:36:42 EST
(
hide
)
Description:
queryXRefs for 4.2 patch
Filename:
MIME Type:
Creator:
Christophe Bouhier
Created:
2012-11-16 06:36:42 EST
Size:
1.87 KB
patch
obsolete
>diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractListTableMapping.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractListTableMapping.java >index 6474201..0f3ff31 100644 >--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractListTableMapping.java >+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractListTableMapping.java >@@ -384,21 +384,21 @@ > QueryXRefsContext context, String idString) > { > String tableName = getTable().getName(); >- String listJoin = getMappingStrategy().getListJoin("\"a_t\"", "\"l_t\""); >+ String listJoin = getMappingStrategy().getListJoin("a_t", "l_t"); > > StringBuilder builder = new StringBuilder(); >- builder.append("SELECT \"l_t\"."); //$NON-NLS-1$ >+ builder.append("SELECT l_t."); //$NON-NLS-1$ > builder.append(CDODBSchema.LIST_REVISION_ID); >- builder.append(", \"l_t\"."); //$NON-NLS-1$ >+ builder.append(", l_t."); //$NON-NLS-1$ > builder.append(CDODBSchema.LIST_VALUE); >- builder.append(", \"l_t\"."); //$NON-NLS-1$ >+ builder.append(", l_t."); //$NON-NLS-1$ > builder.append(CDODBSchema.LIST_IDX); > builder.append(" FROM "); //$NON-NLS-1$ > builder.append(tableName); >- builder.append(" \"l_t\", ");//$NON-NLS-1$ >+ builder.append(" l_t, ");//$NON-NLS-1$ > builder.append(mainTableName); >- builder.append(" \"a_t\" WHERE ");//$NON-NLS-1$ >- builder.append("\"a_t\"." + mainTableWhere);//$NON-NLS-1$ >+ builder.append(" a_t WHERE ");//$NON-NLS-1$ >+ builder.append("a_t." + mainTableWhere);//$NON-NLS-1$ > builder.append(listJoin); > builder.append(" AND "); //$NON-NLS-1$ > builder.append(CDODBSchema.LIST_VALUE);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 393111
: 223652