Skip to content
Browse files

This commit was manufactured by cvs2svn to create tag 'v200905150820'.

Sprout from master 2009-05-15 00:17:29 UTC Brian Fitzpatrick <bfitzpat@redhat.com> 'NEW - bug 253584: Systematically detect the Connection Profile Provider ID for a JDBC connection profile'
Delete:
    plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/.project
    plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/META-INF/MANIFEST.MF
    plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/about.html
    plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/build.properties
    plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/plugin.properties
    plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/plugin.xml
    plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/runtime/vendors/ingres/ingres_2006.xmi
    plugins/org.eclipse.datatools.enablement.ingres.ui/.classpath
    plugins/org.eclipse.datatools.enablement.ingres.ui/.project
    plugins/org.eclipse.datatools.enablement.ingres.ui/.settings/org.eclipse.jdt.core.prefs
    plugins/org.eclipse.datatools.enablement.ingres.ui/META-INF/MANIFEST.MF
    plugins/org.eclipse.datatools.enablement.ingres.ui/about.html
    plugins/org.eclipse.datatools.enablement.ingres.ui/build.properties
    plugins/org.eclipse.datatools.enablement.ingres.ui/grammar/sql.jjt
    plugins/org.eclipse.datatools.enablement.ingres.ui/icons/event.gif
    plugins/org.eclipse.datatools.enablement.ingres.ui/icons/new_db_element.gif
    plugins/org.eclipse.datatools.enablement.ingres.ui/icons/synonym.gif
    plugins/org.eclipse.datatools.enablement.ingres.ui/plugin.properties
    plugins/org.eclipse.datatools.enablement.ingres.ui/plugin.xml
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresCallableSQLResultRunnable.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresConnectionService.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresControlConnection.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBConfiguration.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBHelper.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBUIConfiguration.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresExcecutionService.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresProcIdentifierImpl.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresSQLObjectItem.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresSQLService.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/filters/UdtUdfFilterFilter.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/l10n/messages.properties
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTDeclareComma.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTDeclareKeyword.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTExpression.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLDataType.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLDelimiter.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLParam.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLStatement.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTStart.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresASTSQLStatementImageHandler.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresParsingResult.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParser.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserConstants.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserTokenManager.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserTreeConstants.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserVisitor.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSimpleNode.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/JJTIngresSQLParserState.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/Node.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ParseException.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/SimpleCharStream.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/SimpleNode.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/Token.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/TokenMgrError.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/IngresExplainSQLActionDelegate.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/IngresPlanService.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/IngresPlanSupportRunnable.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/QEPLogExtractor.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/profiles/IngresProfileDetailsWizardPage.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/profiles/IngresPropertyPage.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/profiles/NewIngresConnectionProfileWizard.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IDBEventsFolder.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IProcedureParameterFolder.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/ISynonymsFolder.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IngresContentProvider.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IngresLabelProvider.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/decorators/ParameterDecorationService.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/decorators/SynonymDecorationService.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/sql/IngresSQLSyntax.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/sqleditor/texthover/HoverInfoBuilder.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/sqleditor/texthover/IngresSQLEditorTextHover.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/util/Messages.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/virtual/DBEventsFolder.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/virtual/ProcedureParameterFolder.java
    plugins/org.eclipse.datatools.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/virtual/SynonymFolder.java
  • Loading branch information...
1 parent 1e7a31d commit 970bf754d214f8654b8404c009b5366b962a240c cvs2svn committed May 15, 2009
Showing with 0 additions and 23,334 deletions.
  1. +0 −22 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/.project
  2. +0 −9 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/META-INF/MANIFEST.MF
  3. +0 −28 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/about.html
  4. +0 −5 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/build.properties
  5. +0 −15 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/plugin.properties
  6. +0 −15 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/plugin.xml
  7. +0 −426 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/runtime/vendors/ingres/ingres_2006.xmi
  8. +0 −7 plugins/org.eclipse.datatools.enablement.ingres.ui/.classpath
  9. +0 −28 plugins/org.eclipse.datatools.enablement.ingres.ui/.project
  10. +0 −12 plugins/org.eclipse.datatools.enablement.ingres.ui/.settings/org.eclipse.jdt.core.prefs
  11. +0 −31 plugins/org.eclipse.datatools.enablement.ingres.ui/META-INF/MANIFEST.MF
  12. +0 −28 plugins/org.eclipse.datatools.enablement.ingres.ui/about.html
  13. +0 −8 plugins/org.eclipse.datatools.enablement.ingres.ui/build.properties
  14. +0 −2,603 plugins/org.eclipse.datatools.enablement.ingres.ui/grammar/sql.jjt
  15. BIN plugins/org.eclipse.datatools.enablement.ingres.ui/icons/event.gif
  16. BIN plugins/org.eclipse.datatools.enablement.ingres.ui/icons/new_db_element.gif
  17. BIN plugins/org.eclipse.datatools.enablement.ingres.ui/icons/synonym.gif
  18. +0 −21 plugins/org.eclipse.datatools.enablement.ingres.ui/plugin.properties
  19. +0 −172 plugins/org.eclipse.datatools.enablement.ingres.ui/plugin.xml
  20. +0 −103 ...src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresCallableSQLResultRunnable.java
  21. +0 −36 ...gres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresConnectionService.java
  22. +0 −90 ...gres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresControlConnection.java
  23. +0 −88 ...ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBConfiguration.java
  24. +0 −32 ...lement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBHelper.java
  25. +0 −23 ...gres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBUIConfiguration.java
  26. +0 −43 ...gres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresExcecutionService.java
  27. +0 −51 ...res.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresProcIdentifierImpl.java
  28. +0 −82 ...t.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresSQLObjectItem.java
  29. +0 −40 ...ment.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresSQLService.java
  30. +0 −48 ...ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/filters/UdtUdfFilterFilter.java
  31. +0 −38 ...lement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/l10n/messages.properties
  32. +0 −30 ...ent.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTDeclareComma.java
  33. +0 −29 ...t.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTDeclareKeyword.java
  34. +0 −29 ...ement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTExpression.java
  35. +0 −76 ...ment.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLDataType.java
  36. +0 −30 ...ent.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLDelimiter.java
  37. +0 −100 ...blement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLParam.java
  38. +0 −136 ...ent.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLStatement.java
  39. +0 −93 ...enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTStart.java
  40. +0 −28 ...org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresASTSQLStatementImageHandler.java
  41. +0 −136 ...ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresParsingResult.java
  42. +0 −11,251 ...ent.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParser.java
  43. +0 −425 ...s.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserConstants.java
  44. +0 −3,275 ...i/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserTokenManager.java
  45. +0 −29 .../src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserTreeConstants.java
  46. +0 −16 ...res.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSQLParserVisitor.java
  47. +0 −26 ...nt.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/IngresSimpleNode.java
  48. +0 −132 ...es.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/JJTIngresSQLParserState.java
  49. +0 −24 ...ols.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/Node.java
  50. +0 −202 ...ment.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ParseException.java
  51. +0 −454 ...nt.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/SimpleCharStream.java
  52. +0 −80 ...ablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/SimpleNode.java
  53. +0 −91 ...ls.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/Token.java
  54. +0 −143 ...ement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/TokenMgrError.java
  55. +0 −149 .../src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/IngresExplainSQLActionDelegate.java
  56. +0 −31 ...ent.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/IngresPlanService.java
  57. +0 −153 ...es.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/IngresPlanSupportRunnable.java
  58. +0 −112 ...ement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/plan/QEPLogExtractor.java
  59. +0 −37 .../org/eclipse/datatools/enablement/ingres/internal/ui/profiles/IngresProfileDetailsWizardPage.java
  60. +0 −32 ...ngres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/profiles/IngresPropertyPage.java
  61. +0 −43 ...rg/eclipse/datatools/enablement/ingres/internal/ui/profiles/NewIngresConnectionProfileWizard.java
  62. +0 −22 ....ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IDBEventsFolder.java
  63. +0 −22 .../src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IProcedureParameterFolder.java
  64. +0 −22 ....ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/ISynonymsFolder.java
  65. +0 −134 ...s.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IngresContentProvider.java
  66. +0 −51 ...res.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/providers/IngresLabelProvider.java
  67. +0 −73 ...ipse/datatools/enablement/ingres/internal/ui/providers/decorators/ParameterDecorationService.java
  68. +0 −48 ...clipse/datatools/enablement/ingres/internal/ui/providers/decorators/SynonymDecorationService.java
  69. +0 −959 ...lement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/sql/IngresSQLSyntax.java
  70. +0 −172 ...src/org/eclipse/datatools/enablement/ingres/internal/ui/sqleditor/texthover/HoverInfoBuilder.java
  71. +0 −194 ...eclipse/datatools/enablement/ingres/internal/ui/sqleditor/texthover/IngresSQLEditorTextHover.java
  72. +0 −36 ...s.enablement.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/util/Messages.java
  73. +0 −35 ...ent.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/virtual/DBEventsFolder.java
  74. +0 −35 ....ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/virtual/ProcedureParameterFolder.java
  75. +0 −35 ...ment.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/virtual/SynonymFolder.java
View
22 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/.project
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.datatools.enablement.ingres.dbdefinition</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
View
9 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/META-INF/MANIFEST.MF
@@ -1,9 +0,0 @@
-Manifest-Version: 1.0
-Bundle-Localization: plugin
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.datatools.enablement.ingres.dbdefinition;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Eclipse.org
-Eclipse-LazyStart: true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
View
28 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/about.html
@@ -1,28 +0,0 @@
-<html>
-<head>
-<title>About This Content</title>
-</head>
-<body>
-<div>
-<h3>About This Content</h3>
-<p>May 2, 2006</p>
-<h3>License</h3>
-<p>The Eclipse Foundation makes available all content in this plug-in
-(&quot;Content&quot;). Unless otherwise indicated below, the Content is
-provided to you under the terms and conditions of the Eclipse Public License
-Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available at <a
-href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation,
-the Content is being redistributed by another party (&quot;Redistributor&quot;)
-and different terms and conditions may apply to your use of any object code in
-the Content. Check the Redistributor’s license that was provided with the
-Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source
-code in the Content and such source code may be obtained at <a
-href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-<p>&nbsp;</p>
-</div>
-</body>
-</html>
View
5 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/build.properties
@@ -1,5 +0,0 @@
-bin.includes = META-INF/,\
- plugin.xml,\
- runtime/,\
- plugin.properties,\
- about.html
View
15 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/plugin.properties
@@ -1,15 +0,0 @@
-################################################################################
-## Copyright (c) 2006-2007 Ingres Corporation and others.
-## All rights reserved. This program and the accompanying materials
-## are made available under the terms of the Eclipse Public License v1.0
-## which accompanies this distribution, and is available at
-## http://www.eclipse.org/legal/epl-v10.html
-##
-## Contributors:
-## Ingres - Implementation
-################################################################################
-
-PLUGIN_NAME = Ingres DTP Database Definition Plug-in
-
-PRODUCT_DISPLAY_STRING = Ingres
-VERSION_DISPLAY_STRING = 2006
View
15 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/plugin.xml
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.eclipse.datatools.connectivity.sqm.core.databaseDefinition">
- <definition
- file="runtime/vendors/ingres/ingres_2006.xmi"
- product="Ingres"
- productDisplayString="%PRODUCT_DISPLAY_STRING"
- version="2006"
- versionDisplayString="%VERSION_DISPLAY_STRING">
- </definition>
- </extension>
-
-</plugin>
View
426 ...g.eclipse.datatools.enablement.ingres.dbdefinition/runtime/vendors/ingres/ingres_2006.xmi
@@ -1,426 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<DBDefinition:DatabaseVendorDefinition xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:DBDefinition="http:///org/eclipse/datatools/modelbase/dbdefinition/dbdefinition.ecore" vendor="Ingres" version="2006" maximumIdentifierLength="32" joinSupported="true" tablespacesSupported="false" maximumCommentLength="60" sequenceSupported="true" mQTSupported="true" aliasSupported="true" synonymSupported="true" userDefinedTypeSupported="true" SQLStatementSupported="true" eventSupported="true" sqlUDFSupported="true">
- <predefinedDataTypeDefinitions xmi:id="CHARACTER_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="32000" jdbcEnumType="1" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>C</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="CHARACTER_2" lengthSupported="true" keyConstraintSupported="true" maximumLength="32000" jdbcEnumType="1" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>CHAR</name>
- <name>CHARACTER</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="CHARACTER_VARYING_2" lengthSupported="true" keyConstraintSupported="true" maximumLength="32000" primitiveType="CHARACTER_VARYING" jdbcEnumType="12" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TEXT</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="CHARACTER_VARYING_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="32000" primitiveType="CHARACTER_VARYING" jdbcEnumType="12" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>VARCHAR</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="CHARACTER_LARGE_OBJECT_1" primitiveType="CHARACTER_LARGE_OBJECT" jdbcEnumType="-1" javaClassName="java.lang.String">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>LONG VARCHAR</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="NATIONAL_CHARACTER_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="16000" primitiveType="NATIONAL_CHARACTER" jdbcEnumType="1" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>NCHAR</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="NATIONAL_CHARACTER_VARYING_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="15999" primitiveType="NATIONAL_CHARACTER_VARYING" jdbcEnumType="12" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>NVARCHAR</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="NATIONAL_CHARACTER_LARGE_OBJECT_1" primitiveType="NATIONAL_CHARACTER_LARGE_OBJECT" jdbcEnumType="-1" javaClassName="java.lang.String">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>LONG NVARCHAR</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="INTEGER_3" keyConstraintSupported="true" identitySupported="true" maximumValue="127" minimumValue="-128" primitiveType="INTEGER" jdbcEnumType="-6" javaClassName="int">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TINYINT</name>
- <name>INTEGER1</name>
- <name>INTEGER</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="INTEGER_4" keyConstraintSupported="true" identitySupported="true" maximumValue="-32767" minimumValue="-32768" primitiveType="INTEGER" jdbcEnumType="5" javaClassName="int">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>SMALLINT</name>
- <name>INTEGER2</name>
- <name>INTEGER</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="INTEGER_1" keyConstraintSupported="true" identitySupported="true" maximumValue="2147483647" minimumValue="-2147483648" primitiveType="INTEGER" jdbcEnumType="4" javaClassName="int">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>INTEGER</name>
- <name>INTEGER4</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="INTEGER_2" keyConstraintSupported="true" identitySupported="true" maximumValue="9223372036854775807" minimumValue="-9223372036854775808" primitiveType="INTEGER" jdbcEnumType="-5" javaClassName="long">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>BIGINT</name>
- <name>INTEGER8</name>
- <name>INTEGER</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="DECIMAL_1" scaleSupported="true" precisionSupported="true" keyConstraintSupported="true" identitySupported="true" maximumPrecision="31" primitiveType="DECIMAL" jdbcEnumType="3" javaClassName="java.math.BigDecimal" defaultPrecision="10">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>DECIMAL</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="DOUBLE_PRECISION_2" keyConstraintSupported="true" maximumPrecision="23" primitiveType="REAL" jdbcEnumType="7" javaClassName="double" fieldQualifierSeparator="">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>FLOAT4</name>
- <name>REAL</name>
- <name>FLOAT</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="DOUBLE_PRECISION_1" keyConstraintSupported="true" maximumPrecision="53" primitiveType="DOUBLE_PRECISION" jdbcEnumType="8" javaClassName="double">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>FLOAT</name>
- <name>FLOAT8</name>
- <name>DOUBLE PRECISION</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="91" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>ANSIDATE</name>
- <name>DATE</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="93" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>INGRESDATE</name>
- <name>DATE</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="92" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TIME WITHOUT TIME ZONE</name>
- <name>TIME</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="92" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TIME WITH TIME ZONE</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="92" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TIME WITH LOCAL TIME ZONE</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="TIMESTAMP_1" keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="93" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TIMESTAMP WITHOUT TIME ZONE</name>
- <name>TIMESTAMP</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="93" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TIMESTAMP WITH TIME ZONE</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions keyConstraintSupported="true" primitiveType="TIMESTAMP" jdbcEnumType="93" javaClassName="java.sql.Timestamp">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TIMESTAMP WITH LOCAL TIME ZONE</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions lengthSupported="true" keyConstraintSupported="true" maximumLength="32000" primitiveType="CHARACTER_VARYING" jdbcEnumType="12" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>INTERVAL YEAR TO MONTH</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions lengthSupported="true" keyConstraintSupported="true" maximumLength="32000" primitiveType="CHARACTER_VARYING" jdbcEnumType="12" javaClassName="java.lang.String" defaultLength="1">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>INTERVAL DAY TO SECOND</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="DECIMAL_2" precisionSupported="true" keyConstraintSupported="true" identitySupported="true" primitiveType="DECIMAL" jdbcEnumType="3" javaClassName="java.math.BigDecimal">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>MONEY</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions lengthSupported="true" keyConstraintSupported="true" jdbcEnumType="1" javaClassName="java.lang.String" defaultLength="16">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>TABLE_KEY</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions lengthSupported="true" keyConstraintSupported="true" jdbcEnumType="1" javaClassName="java.lang.String" defaultLength="16">
- <defaultValueTypes>CURRENT_USER</defaultValueTypes>
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>OBJECT_KEY</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="BINARY_1" keyConstraintSupported="true" maximumLength="32000" primitiveType="BINARY" jdbcEnumType="-2" javaClassName="byte[]">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>BYTE</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="BINARY_VARYING_1" keyConstraintSupported="true" maximumLength="32000" primitiveType="BINARY_VARYING" jdbcEnumType="-3" javaClassName="byte[]">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>BYTE VARYING</name>
- </predefinedDataTypeDefinitions>
- <predefinedDataTypeDefinitions xmi:id="BINARY_LARGE_OBJECT_1" primitiveType="BINARY_LARGE_OBJECT" jdbcEnumType="-4" javaClassName="byte[]">
- <defaultValueTypes>NULL</defaultValueTypes>
- <name>LONG BYTE</name>
- </predefinedDataTypeDefinitions>
- <storedProcedureDefinition/>
- <triggerDefinition/>
- <columnDefinition identitySupported="true" identityIncrementSupported="true"/>
- <constraintDefinition clusteredPrimaryKeySupported="true" clusteredUniqueConstraintSupported="true" primaryKeyNullable="true" uniqueKeyNullable="true">
- <parentUpdateDRIRuleType>RESTRICT</parentUpdateDRIRuleType>
- <parentUpdateDRIRuleType>CASCADE</parentUpdateDRIRuleType>
- <parentUpdateDRIRuleType>SET_NULL</parentUpdateDRIRuleType>
- <parentUpdateDRIRuleType>NO_ACTION</parentUpdateDRIRuleType>
- <parentDeleteDRIRuleType>RESTRICT</parentDeleteDRIRuleType>
- <parentDeleteDRIRuleType>CASCADE</parentDeleteDRIRuleType>
- <parentDeleteDRIRuleType>SET_NULL</parentDeleteDRIRuleType>
- <parentDeleteDRIRuleType>NO_ACTION</parentDeleteDRIRuleType>
- </constraintDefinition>
- <indexDefinition/>
- <tableDefinition/>
- <udtDefinition/>
- <queryDefinition identifierQuoteString="&quot;" hostVariableMarker="@" hostVariableMarkerSupported="true"/>
- <SQLSyntaxDefinition>
- <keywords>ADD</keywords>
- <keywords>ALL</keywords>
- <keywords>ALTER</keywords>
- <keywords>ANALYZE</keywords>
- <keywords>AND</keywords>
- <keywords>AS</keywords>
- <keywords>ASC</keywords>
- <keywords>ASENSITIVE</keywords>
- <keywords>BEFORE</keywords>
- <keywords>BETWEEN</keywords>
- <keywords>BIGINT</keywords>
- <keywords>BINARY</keywords>
- <keywords>BLOB</keywords>
- <keywords>BOTH</keywords>
- <keywords>BY</keywords>
- <keywords>CALL</keywords>
- <keywords>CASCADE</keywords>
- <keywords>CASE</keywords>
- <keywords>CHANGE</keywords>
- <keywords>CHAR</keywords>
- <keywords>CHARACTER</keywords>
- <keywords>CHECK</keywords>
- <keywords>COLLATE</keywords>
- <keywords>COLUMN</keywords>
- <keywords>CONDITION</keywords>
- <keywords>CONNECTION</keywords>
- <keywords>CONSTRAINT</keywords>
- <keywords>CONTINUE</keywords>
- <keywords>CONVERT</keywords>
- <keywords>CREATE</keywords>
- <keywords>CROSS</keywords>
- <keywords>CURRENT_DATE</keywords>
- <keywords>CURRENT_TIME</keywords>
- <keywords>CURRENT_TIMESTAMP</keywords>
- <keywords>CURRENT_USER</keywords>
- <keywords>CURSOR</keywords>
- <keywords>DATABASE</keywords>
- <keywords>DATABASES</keywords>
- <keywords>DAY_HOUR</keywords>
- <keywords>DAY_MICROSECOND</keywords>
- <keywords>DAY_MINUTE</keywords>
- <keywords>DAY_SECOND</keywords>
- <keywords>DEC</keywords>
- <keywords>DECIMAL</keywords>
- <keywords>DECLARE</keywords>
- <keywords>DEFAULT</keywords>
- <keywords>DELAYED</keywords>
- <keywords>DELETE</keywords>
- <keywords>DESC</keywords>
- <keywords>DESCRIBE</keywords>
- <keywords>DETERMINISTIC</keywords>
- <keywords>DISTINCT</keywords>
- <keywords>DISTINCTROW</keywords>
- <keywords>DIV</keywords>
- <keywords>DOUBLE</keywords>
- <keywords>DROP</keywords>
- <keywords>DUAL</keywords>
- <keywords>EACH</keywords>
- <keywords>ELSE</keywords>
- <keywords>ELSEIF</keywords>
- <keywords>ENCLOSED</keywords>
- <keywords>ESCAPED</keywords>
- <keywords>EXISTS</keywords>
- <keywords>EXIT</keywords>
- <keywords>EXPLAIN</keywords>
- <keywords>FALSE</keywords>
- <keywords>FETCH</keywords>
- <keywords>FLOAT</keywords>
- <keywords>FOR</keywords>
- <keywords>FORCE</keywords>
- <keywords>FOREIGN</keywords>
- <keywords>FROM</keywords>
- <keywords>FULLTEXT</keywords>
- <keywords>GOTO</keywords>
- <keywords>GRANT</keywords>
- <keywords>GROUP</keywords>
- <keywords>HAVING</keywords>
- <keywords>HIGH_PRIORITY</keywords>
- <keywords>HOUR_MICROSECOND</keywords>
- <keywords>HOUR_MINUTE</keywords>
- <keywords>HOUR_SECOND</keywords>
- <keywords>IF</keywords>
- <keywords>IGNORE</keywords>
- <keywords>IN</keywords>
- <keywords>INDEX</keywords>
- <keywords>INFILE</keywords>
- <keywords>INNER</keywords>
- <keywords>INOUT</keywords>
- <keywords>INSENSITIVE</keywords>
- <keywords>INSERT</keywords>
- <keywords>INT</keywords>
- <keywords>INTEGER</keywords>
- <keywords>INTERVAL</keywords>
- <keywords>INTO</keywords>
- <keywords>IS</keywords>
- <keywords>ITERATE</keywords>
- <keywords>JOIN</keywords>
- <keywords>KEY</keywords>
- <keywords>KEYS</keywords>
- <keywords>KILL</keywords>
- <keywords>LEADING</keywords>
- <keywords>LEAVE</keywords>
- <keywords>LEFT</keywords>
- <keywords>LIKE</keywords>
- <keywords>LIMIT</keywords>
- <keywords>LINES</keywords>
- <keywords>LOAD</keywords>
- <keywords>LOCALTIME</keywords>
- <keywords>LOCALTIMESTAMP</keywords>
- <keywords>LOCK</keywords>
- <keywords>LONG</keywords>
- <keywords>LONGBLOB</keywords>
- <keywords>LONGTEXT</keywords>
- <keywords>LOOP</keywords>
- <keywords>LOW_PRIORITY</keywords>
- <keywords>MATCH</keywords>
- <keywords>MEDIUMBLOB</keywords>
- <keywords>MEDIUMINT</keywords>
- <keywords>MEDIUMTEXT</keywords>
- <keywords>MIDDLEINT</keywords>
- <keywords>MINUTE_MICROSECOND</keywords>
- <keywords>MINUTE_SECOND</keywords>
- <keywords>MOD</keywords>
- <keywords>MODIFIES</keywords>
- <keywords>NATURAL</keywords>
- <keywords>NOT</keywords>
- <keywords>NO_WRITE_TO_BINLOG</keywords>
- <keywords>NULL</keywords>
- <keywords>NUMERIC</keywords>
- <keywords>ON</keywords>
- <keywords>OPTIMIZE</keywords>
- <keywords>OPTION</keywords>
- <keywords>OPTIONALLY</keywords>
- <keywords>OR</keywords>
- <keywords>ORDER</keywords>
- <keywords>OUT</keywords>
- <keywords>OUTER</keywords>
- <keywords>OUTFILE</keywords>
- <keywords>PRECISION</keywords>
- <keywords>PRIMARY</keywords>
- <keywords>PROCEDURE</keywords>
- <keywords>PURGE</keywords>
- <keywords>READ</keywords>
- <keywords>READS</keywords>
- <keywords>REAL</keywords>
- <keywords>REFERENCES</keywords>
- <keywords>REGEXP</keywords>
- <keywords>RELEASE</keywords>
- <keywords>RENAME</keywords>
- <keywords>REPEAT</keywords>
- <keywords>REPLACE</keywords>
- <keywords>REQUIRE</keywords>
- <keywords>RESTRICT</keywords>
- <keywords>RETURN</keywords>
- <keywords>REVOKE</keywords>
- <keywords>RIGHT</keywords>
- <keywords>RLIKE</keywords>
- <keywords>SCHEMA</keywords>
- <keywords>SCHEMAS</keywords>
- <keywords>SECOND_MICROSECOND</keywords>
- <keywords>SELECT</keywords>
- <keywords>SENSITIVE</keywords>
- <keywords>SEPARATOR</keywords>
- <keywords>SET</keywords>
- <keywords>SHOW</keywords>
- <keywords>SMALLINT</keywords>
- <keywords>SONAME</keywords>
- <keywords>SPATIAL</keywords>
- <keywords>SPECIFIC</keywords>
- <keywords>SQL</keywords>
- <keywords>SQLEXCEPTION</keywords>
- <keywords>SQLSTATE</keywords>
- <keywords>SQLWARNING</keywords>
- <keywords>SQL_BIG_RESULT</keywords>
- <keywords>SQL_CALC_FOUND_ROWS</keywords>
- <keywords>SQL_SMALL_RESULT</keywords>
- <keywords>SSL</keywords>
- <keywords>STARTING</keywords>
- <keywords>STRAIGHT_JOIN</keywords>
- <keywords>TABLE</keywords>
- <keywords>TERMINATED</keywords>
- <keywords>THEN</keywords>
- <keywords>TINYBLOB</keywords>
- <keywords>TINYINT</keywords>
- <keywords>TINYTEXT</keywords>
- <keywords>TO</keywords>
- <keywords>TRAILING</keywords>
- <keywords>TRIGGER</keywords>
- <keywords>TRUE</keywords>
- <keywords>UNDO</keywords>
- <keywords>UNION</keywords>
- <keywords>UNIQUE</keywords>
- <keywords>UNLOCK</keywords>
- <keywords>UNSIGNED</keywords>
- <keywords>UPDATE</keywords>
- <keywords>USAGE</keywords>
- <keywords>USE</keywords>
- <keywords>USING</keywords>
- <keywords>UTC_DATE</keywords>
- <keywords>UTC_TIME</keywords>
- <keywords>UTC_TIMESTAMP</keywords>
- <keywords>VALUES</keywords>
- <keywords>VARBINARY</keywords>
- <keywords>VARCHAR</keywords>
- <keywords>VARCHARACTER</keywords>
- <keywords>VARYING</keywords>
- <keywords>WHEN</keywords>
- <keywords>WHERE</keywords>
- <keywords>WHILE</keywords>
- <keywords>WITH</keywords>
- <keywords>WRITE</keywords>
- <keywords>XOR</keywords>
- <keywords>YEAR_MONTH</keywords>
- <keywords>ZEROFILL</keywords>
- <operators>:=</operators>
- <operators>||</operators>
- <operators>OR</operators>
- <operators>XOR</operators>
- <operators>&amp;&amp;</operators>
- <operators>AND</operators>
- <operators>NOT</operators>
- <operators>BETWEEN</operators>
- <operators>CASE</operators>
- <operators>WHEN</operators>
- <operators>THEN</operators>
- <operators>ELSE</operators>
- <operators>=</operators>
- <operators>&lt;=></operators>
- <operators>>=</operators>
- <operators>></operators>
- <operators>&lt;=</operators>
- <operators>&lt;</operators>
- <operators>&lt;></operators>
- <operators>!=</operators>
- <operators>IS</operators>
- <operators>LIKE</operators>
- <operators>REGEXP</operators>
- <operators>IN</operators>
- <operators>|</operators>
- <operators>&amp;</operators>
- <operators>&lt;&lt;</operators>
- <operators>>></operators>
- <operators>-</operators>
- <operators>+</operators>
- <operators>*</operators>
- <operators>/</operators>
- <operators>DIV</operators>
- <operators>%</operators>
- <operators>MOD</operators>
- <operators>^</operators>
- <operators>~</operators>
- <operators>!</operators>
- <operators>BINARY</operators>
- <operators>COLLATE</operators>
- </SQLSyntaxDefinition>
-</DBDefinition:DatabaseVendorDefinition>
View
7 plugins/org.eclipse.datatools.enablement.ingres.ui/.classpath
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
View
28 plugins/org.eclipse.datatools.enablement.ingres.ui/.project
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.datatools.enablement.ingres.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
View
12 plugins/org.eclipse.datatools.enablement.ingres.ui/.settings/org.eclipse.jdt.core.prefs
@@ -1,12 +0,0 @@
-#Tue Apr 01 11:09:25 CEST 2008
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.source=1.3
View
31 plugins/org.eclipse.datatools.enablement.ingres.ui/META-INF/MANIFEST.MF
@@ -1,31 +0,0 @@
-Manifest-Version: 1.0
-Bundle-Localization: plugin
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.datatools.enablement.ingres.ui;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Eclipse.org
-Eclipse-LazyStart: true
-Require-Bundle: org.eclipse.datatools.connectivity.db.generic.ui;bundle-version="[1.0.1,2.0.0)",
- org.eclipse.datatools.connectivity.ui;bundle-version="[1.1.0,2.0.0)",
- org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.datatools.connectivity;bundle-version="[1.1.0,2.0.0)",
- org.eclipse.datatools.connectivity.db.generic;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.connectivity.sqm.core.ui;bundle-version="[1.1.0,2.0.0)",
- org.eclipse.datatools.connectivity.sqm.core;bundle-version="[1.0.1,2.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.datatools.enablement.ingres;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.ui.navigator;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.datatools.connectivity.sqm.server.ui;bundle-version="[1.1.0,2.0.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,3.0.0)",
- org.eclipse.datatools.modelbase.sql;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.sqltools.sqleditor;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.sqltools.sql;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.sqltools.editor.core;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.sqltools.plan;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.sqltools.routineeditor;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.debug.core;bundle-version="[3.3.0,4.0.0)",
- org.eclipse.datatools.sqltools.routineeditor.ui;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.sqltools.editor.core.ui;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.datatools.sqltools.sql.ui;bundle-version="[1.0.0,2.0.0)"
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
View
28 plugins/org.eclipse.datatools.enablement.ingres.ui/about.html
@@ -1,28 +0,0 @@
-<html>
-<head>
-<title>About This Content</title>
-</head>
-<body>
-<div>
-<h3>About This Content</h3>
-<p>May 2, 2006</p>
-<h3>License</h3>
-<p>The Eclipse Foundation makes available all content in this plug-in
-(&quot;Content&quot;). Unless otherwise indicated below, the Content is
-provided to you under the terms and conditions of the Eclipse Public License
-Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available at <a
-href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation,
-the Content is being redistributed by another party (&quot;Redistributor&quot;)
-and different terms and conditions may apply to your use of any object code in
-the Content. Check the Redistributor’s license that was provided with the
-Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source
-code in the Content and such source code may be obtained at <a
-href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-<p>&nbsp;</p>
-</div>
-</body>
-</html>
View
8 plugins/org.eclipse.datatools.enablement.ingres.ui/build.properties
@@ -1,8 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- plugin.xml,\
- plugin.properties,\
- .,\
- about.html,\
- icons/
View
2,603 plugins/org.eclipse.datatools.enablement.ingres.ui/grammar/sql.jjt
0 additions, 2,603 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
BIN plugins/org.eclipse.datatools.enablement.ingres.ui/icons/event.gif
Deleted file not rendered
View
BIN plugins/org.eclipse.datatools.enablement.ingres.ui/icons/new_db_element.gif
Deleted file not rendered
View
BIN plugins/org.eclipse.datatools.enablement.ingres.ui/icons/synonym.gif
Deleted file not rendered
View
21 plugins/org.eclipse.datatools.enablement.ingres.ui/plugin.properties
@@ -1,21 +0,0 @@
-################################################################################
-## Copyright (c) 2006-2007 Ingres Corporation and others.
-## All rights reserved. This program and the accompanying materials
-## are made available under the terms of the Eclipse Public License v1.0
-## which accompanies this distribution, and is available at
-## http://www.eclipse.org/legal/epl-v10.html
-##
-## Contributors:
-## Ingres - Implementation
-################################################################################
-
-PLUGIN_NAME = Ingres DTP UI Plug-in
-
-# new connection profile wizard
-WIZARD_NAME = Ingres
-WIZARD_DESCRIPTION =
-
-# Property page
-PROPERTY_PAGE_NAME = Ingres Connection Properties
-
-SynonymDecorationServiceLabel = Data Tools - Ingres Synonym
View
172 plugins/org.eclipse.datatools.enablement.ingres.ui/plugin.xml
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.eclipse.datatools.connectivity.connectionProfile">
- <newWizard
- class="org.eclipse.datatools.enablement.ingres.internal.ui.profiles.NewIngresConnectionProfileWizard"
- description="%WIZARD_DESCRIPTION"
- icon="icons/new_db_element.gif"
- id="org.eclipse.datatools.enablement.ingres.NewIngresConnectionProfileWizard"
- name="%WIZARD_NAME"
- profile="org.eclipse.datatools.enablement.ingres.connectionProfile">
- </newWizard>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- class="org.eclipse.datatools.enablement.ingres.internal.ui.profiles.IngresPropertyPage"
- id="org.eclipse.datatools.enablement.ingres.IngresPropertyPage"
- name="%PROPERTY_PAGE_NAME">
- <filter
- name="org.eclipse.datatools.profile.property.id"
- value="org.eclipse.datatools.enablement.ingres.connectionProfile">
- </filter>
- <enabledWhen>
- <adapt
- type="org.eclipse.datatools.connectivity.IConnectionProfile">
- </adapt>
- </enabledWhen>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.navigator.viewer">
- <viewerContentBinding
- viewerId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator">
- <includes>
- <contentExtension
- pattern="org.eclipse.datatools.enablement.ingres.IngresSqlModelContent">
- </contentExtension>
- <contentExtension
- pattern="org.eclipse.datatools.enablement.ingres.UdtUdfFilter">
- </contentExtension>
- </includes>
- </viewerContentBinding>
- </extension>
- <extension
- point="org.eclipse.ui.navigator.navigatorContent">
- <navigatorContent
- contentProvider="org.eclipse.datatools.enablement.ingres.internal.ui.providers.IngresContentProvider"
- id="org.eclipse.datatools.enablement.ingres.IngresSqlModelContent"
- labelProvider="org.eclipse.datatools.enablement.ingres.internal.ui.providers.IngresLabelProvider"
- name="Ingres SQL Model Content Extension"
- priority="highest">
- <enablement>
- <or>
- <instanceof
- value="org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngresSchema">
- </instanceof>
- <instanceof
- value="org.eclipse.datatools.enablement.ingres.internal.catalog.IngresProcedure">
- </instanceof>
- </or>
- </enablement>
- </navigatorContent>
- <commonFilter
- activeByDefault="true"
- class="org.eclipse.datatools.enablement.ingres.internal.ui.filters.UdtUdfFilterFilter"
- id="org.eclipse.datatools.enablement.ingres.UdtUdfFilter"
- name="Ingres UDT and UDF Filter">
- </commonFilter>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.sqm.core.ui.labelService">
- <contributor
- iconLocation="/icons/synonym.gif"
- type="org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngresSynonym">
- </contributor>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.sqm.core.ui.labelService">
- <contributor
- iconLocation="/icons/event.gif"
- type="org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngresDBEvent">
- </contributor>
- </extension>
- <extension
- point="org.eclipse.datatools.sqltools.sqleditor.texthover">
- <hover
- class="org.eclipse.datatools.enablement.ingres.internal.ui.sqleditor.texthover.IngresSQLEditorTextHover"
- id="org.eclipse.datatools.enablement.ingres.ui.sqleditor.texthover.IngresSQLEditorTextHover">
- </hover>
- </extension>
- <extension
- point="org.eclipse.ui.decorators">
- <decorator
- lightweight="true"
- location="TOP_LEFT"
- adaptable="false"
- label="%SynonymDecorationServiceLabel"
- state="true"
- class="org.eclipse.datatools.enablement.ingres.internal.ui.providers.decorators.SynonymDecorationService"
- id="org.eclipse.datatools.enablement.ingres.ui.providers.decorators.SynonymDecorationService">
- <enablement>
- <objectClass
- name="org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngresSynonym">
- </objectClass>
- </enablement>
- </decorator>
- </extension>
- <extension
- id="org.eclipse.datatools.connectivity.sqm.core.internal.ui.modelexplorer.decorator"
- name="%org.eclipse.datatools.connectivity.sqm.core.internal.ui.modelexplorer.decorator"
- point="org.eclipse.ui.decorators">
- <decorator
- lightweight="true"
- location="TOP_LEFT"
- adaptable="false"
- label="%datatools.core.ui.modelexplorer.modelExplorerColumnDecoration"
- state="true"
- class="org.eclipse.datatools.enablement.ingres.internal.ui.providers.decorators.ParameterDecorationService"
- id="org.eclipse.datatools.enablement.ingres.internal.ui.providers.decorators.ParameterDecorationService">
- <enablement>
- <objectClass
- name="org.eclipse.datatools.modelbase.sql.routines.Parameter">
- </objectClass>
- </enablement>
- </decorator>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.ui.driverPropertyEditor">
- <propertyEditor
- customPropertyDescriptor="org.eclipse.datatools.connectivity.ui.PasswordTextPropertyDescriptor"
- driverPropertyID="org.eclipse.datatools.connectivity.db.password"
- driverTemplateID="org.eclipse.datatools.enablement.ingres.2006.driverTemplate"
- id="org.eclipse.datatools.connectivity.db.password.propertyeditor">
- </propertyEditor>
- </extension>
- <extension
- point="org.eclipse.datatools.sqltools.editor.core.dbConfigurations">
- <dbConfiguration
- configurationClass="org.eclipse.datatools.enablement.ingres.internal.ui.core.IngresDBConfiguration"
- default="false"
- product="Ingres"
- supportsDebugging="false"
- version="2006">
- </dbConfiguration>
- </extension>
- <extension
- point="org.eclipse.datatools.sqltools.plan.planService">
- <planService
- databaseVendorDefinitionId="Ingres_2006"
- serviceClass="org.eclipse.datatools.enablement.ingres.internal.ui.plan.IngresPlanService">
- </planService>
- </extension>
- <extension
- point="org.eclipse.datatools.sqltools.editor.core.ui.dbUIConfigurations">
- <dbUIConfiguration
- configurationClass="org.eclipse.datatools.enablement.ingres.internal.ui.core.IngresDBUIConfiguration"
- default="false"
- product="Ingres"
- version="2006">
- </dbUIConfiguration>
- </extension>
- <extension
- point="org.eclipse.datatools.sqltools.sql.ui.sqlNodesImage">
- <nodeImage
- imageHandler="org.eclipse.datatools.enablement.ingres.internal.ui.parser.IngresASTSQLStatementImageHandler"
- nodeClazzName="org.eclipse.datatools.enablement.ingres.internal.ui.parser.ASTSQLStatement">
- </nodeImage>
- </extension>
-
-</plugin>
View
103 ...eclipse/datatools/enablement/ingres/internal/ui/core/IngresCallableSQLResultRunnable.java
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.sql.CallableStatement;
-import java.sql.Connection;
-import java.sql.DatabaseMetaData;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.sql.Types;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.datatools.sqltools.core.DatabaseIdentifier;
-import org.eclipse.datatools.sqltools.core.ProcIdentifier;
-import org.eclipse.datatools.sqltools.core.dbitem.ParameterDescriptor;
-import org.eclipse.datatools.sqltools.core.profile.NoSuchProfileException;
-import org.eclipse.datatools.sqltools.editor.core.connection.IConnectionTracker;
-import org.eclipse.datatools.sqltools.routineeditor.launching.LaunchHelper;
-import org.eclipse.datatools.sqltools.routineeditor.parameter.ParameterInOutWrapper;
-import org.eclipse.datatools.sqltools.routineeditor.result.CallableSQLResultRunnable;
-import org.eclipse.datatools.sqltools.routineeditor.ui.launching.LaunchUI;
-import org.eclipse.debug.core.ILaunchConfiguration;
-
-/**
- * The class CallableSupportRunnalbe has been overrriden to provide return
- * values in stored procedure calls.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresCallableSQLResultRunnable extends CallableSQLResultRunnable {
-
- public IngresCallableSQLResultRunnable(Connection con,
- ILaunchConfiguration configuration, boolean closeCon,
- IConnectionTracker tracker, DatabaseIdentifier databaseIdentifier)
- throws CoreException, SQLException, NoSuchProfileException {
- super(con, configuration, closeCon, tracker, databaseIdentifier);
- }
-
- protected Statement prepareStatement(Connection connection)
- throws SQLException {
-
- CallableStatement cstmt = connection.prepareCall(_sql);
- if (_configuration != null) {
- ProcIdentifier proc;
- try {
- proc = LaunchHelper.readProcIdentifier(_configuration);
- if (proc != null) {
- _procName = proc.getProcName();
- _pws = LaunchHelper.getAllParameterWrappersByOrder(proc);
-
- // The call
- // _sql =
- // LaunchHelper.constructCallableStatementSQLString(configuration);
- // (called in the constructor of this class parents class)
- // creates always an SQL string with a result
- // parameter, but there is no result object in _pws
- // (generated by LaunchUI)
-
- // Add a placeholder for the return parameter wrapper
- ParameterInOutWrapper piow = createReturnParameterWrapper();
- ParameterInOutWrapper[] pws = new ParameterInOutWrapper[_pws.length + 1];
- System.arraycopy(_pws, 0, pws, 1, _pws.length);
- pws[0] = piow;
- _pws = pws;
-
- setInParameter(cstmt, _pws);
- registerOutParameter(cstmt, _pws);
-
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- return cstmt;
- }
-
- private ParameterInOutWrapper createReturnParameterWrapper() {
- DatabaseIdentifier databaseIdentifier = _databaseIdentifier;
- String name = "return"; //$NON-NLS-1$
- int parmType = DatabaseMetaData.procedureColumnReturn;
- int sqlDataType = Types.VARCHAR;
- int precision = 0;
- short scale = 0;
- String typeName = "VARCHAR"; //$NON-NLS-1$
- short nullable = 1;
- String comment = ""; //$NON-NLS-1$
-
- ParameterDescriptor pd = new ParameterDescriptor(databaseIdentifier,
- name, parmType, sqlDataType, precision, scale, typeName,
- nullable, comment);
- ParameterInOutWrapper piow = new ParameterInOutWrapper(pd);
- return piow;
- }
-
-}
View
36 ...src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresConnectionService.java
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.sql.SQLException;
-
-import org.eclipse.datatools.sqltools.core.DatabaseIdentifier;
-import org.eclipse.datatools.sqltools.core.EditorCorePlugin;
-import org.eclipse.datatools.sqltools.core.IControlConnection;
-import org.eclipse.datatools.sqltools.core.services.ConnectionService;
-
-/**
- * An Ingres related connection service implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresConnectionService extends ConnectionService {
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.services.ConnectionService#createControlConnection(org.eclipse.datatools.sqltools.core.DatabaseIdentifier)
- */
- public IControlConnection createControlConnection(
- DatabaseIdentifier databaseIdentifier) throws SQLException {
- return new IngresControlConnection(EditorCorePlugin
- .getControlConnectionManager(), databaseIdentifier);
- }
-
-}
View
90 ...src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresControlConnection.java
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.sql.Statement;
-
-import org.eclipse.datatools.modelbase.sql.schema.SQLObject;
-import org.eclipse.datatools.sqltools.core.DatabaseIdentifier;
-import org.eclipse.datatools.sqltools.core.IControlConnection;
-import org.eclipse.datatools.sqltools.core.IControlConnectionManager;
-import org.eclipse.datatools.sqltools.core.ProcIdentifier;
-import org.eclipse.datatools.sqltools.core.dbitem.IDBItem;
-import org.eclipse.datatools.sqltools.internal.core.AbstractControlConnection;
-import org.eclipse.datatools.sqltools.sql.util.ModelUtil;
-
-/**
- * An Ingres related control connection implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresControlConnection extends AbstractControlConnection
- implements IControlConnection {
-
- public IngresControlConnection(IControlConnectionManager manager,
- DatabaseIdentifier databaseIdentifier) {
- super(manager, databaseIdentifier);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.datatools.sqltools.internal.core.AbstractControlConnection#createDBItem(org.eclipse.datatools.sqltools.core.ProcIdentifier)
- */
- protected IDBItem createDBItem(ProcIdentifier proc) {
- SQLObject obj = ModelUtil.findProceduralObject(proc);
- if (obj != null) {
- return new IngresSQLObjectItem(proc, obj, this);
- }
- return null;
- }
-
- /**
- * This method encapsulates the execution of the provided DDL statements
- * within a transaction.
- *
- * @see org.eclipse.datatools.sqltools.internal.core.AbstractControlConnection#executeDDL(java.lang.String[])
- */
- public void executeDDL(String[] src) throws SQLException {
- // we will try to use a new connection so can have transaction
- Connection con;
- con = getReusableConnection();
-
- boolean autoCommit = con.getAutoCommit();
-
- Statement stmt = con.createStatement();
- try {
- // encapsulate the ddl statements in a transaction
- con.setAutoCommit(false);
- try {
- for (int i = 0; i < src.length; i++) {
- stmt.executeUpdate(src[i]);
- }
- con.commit();
- refresh();
- } catch (SQLException ex) {
- // we failed to create the new stored procedure
-
- // rollback the statements
- con.rollback();
-
- throw ex; // throw the original exception out, so caller can
- // get the error.
- }
- } finally {
- stmt.close();
- con.setAutoCommit(autoCommit);
- }
- }
-
-}
View
88 ...i/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBConfiguration.java
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.util.HashMap;
-
-import org.eclipse.datatools.enablement.ingres.internal.ui.plan.IngresExplainSQLActionDelegate;
-import org.eclipse.datatools.sqltools.core.DBHelper;
-import org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration;
-import org.eclipse.datatools.sqltools.core.services.ConnectionService;
-import org.eclipse.datatools.sqltools.core.services.ExecutionService;
-import org.eclipse.datatools.sqltools.core.services.SQLEditorService;
-import org.eclipse.datatools.sqltools.core.services.SQLService;
-
-/**
- * An Ingres related database configuration implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresDBConfiguration extends SQLDevToolsConfiguration {
-
- private static final String[] PRODUCTS = { "Ingres", "II" };
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration#getConnectionService()
- */
- public ConnectionService getConnectionService() {
- return new IngresConnectionService();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration#getDBHelper()
- */
- public DBHelper getDBHelper() {
- return new IngresDBHelper();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration#getSQLService()
- */
- public SQLService getSQLService() {
- return new IngresSQLService();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration#getExecutionService()
- */
- public ExecutionService getExecutionService() {
- return new IngresExcecutionService();
- }
-
- private String format(String in) {
- return in.trim().toLowerCase();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration#recognize(java.lang.String, java.lang.String)
- */
- public boolean recognize(String product, String version) {
- // TODO extract version from supplied string
- // example product="INGRES" and version="0.1.0.w32/115)"
- if (product != null) {
- String formattedProduct = format(product);
- for (int i = 0; i < PRODUCTS.length; i++) {
- if (formattedProduct.indexOf(format(PRODUCTS[i])) > -1) {
- return true;
- }
- }
- }
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration#getAssociatedConnectionProfileType()
- */
- public String[] getAssociatedConnectionProfileType() {
- return new String[] { "org.eclipse.datatools.enablement.ingres.profile.connectionProfile" };
- }
-
-}
View
32 ...ngres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBHelper.java
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.util.Map;
-
-import org.eclipse.datatools.sqltools.core.DBHelper;
-import org.eclipse.datatools.sqltools.core.DatabaseIdentifier;
-import org.eclipse.datatools.sqltools.core.ProcIdentifier;
-
-/**
- * An Ingres related database helper implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresDBHelper extends DBHelper {
-
- public ProcIdentifier getProcIdentifier(
- DatabaseIdentifier databaseIdentifier, int dbObjectType, Map map) {
- return new IngresProcIdentifierImpl(dbObjectType, databaseIdentifier,
- map);
- }
-
-}
View
23 ...src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresDBUIConfiguration.java
@@ -1,23 +0,0 @@
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.util.HashMap;
-
-import org.eclipse.datatools.enablement.ingres.internal.ui.plan.IngresExplainSQLActionDelegate;
-import org.eclipse.datatools.sqltools.core.services.SQLEditorUIService;
-import org.eclipse.datatools.sqltools.editor.ui.core.SQLDevToolsUIConfiguration;
-
-public class IngresDBUIConfiguration extends SQLDevToolsUIConfiguration
-{
- public SQLEditorUIService getSQLEditorUIService()
- {
- return new SQLEditorUIService() {
- public HashMap getAdditionalActions() {
- // XXX Add an Ingres specific extension to the editors context menu
- // (until QEP generation is enabled by default)
- HashMap additions = super.getAdditionalActions();
- additions.put("", new IngresExplainSQLActionDelegate());
- return additions;
- }
- };
- }
-}
View
43 ...src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresExcecutionService.java
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.sql.Connection;
-
-import org.eclipse.datatools.sqltools.core.DatabaseIdentifier;
-import org.eclipse.datatools.sqltools.core.services.ExecutionService;
-import org.eclipse.datatools.sqltools.editor.core.connection.IConnectionTracker;
-import org.eclipse.debug.core.ILaunchConfiguration;
-
-/**
- * A SQL execution service specific to Ingres.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresExcecutionService extends ExecutionService {
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.services.ExecutionService#createCallableSQLResultRunnable(java.sql.Connection, org.eclipse.debug.core.ILaunchConfiguration, boolean, org.eclipse.datatools.sqltools.editor.core.connection.IConnectionTracker, org.eclipse.datatools.sqltools.core.DatabaseIdentifier)
- */
- public Runnable createCallableSQLResultRunnable(Connection con,
- ILaunchConfiguration configuration, boolean closeCon,
- IConnectionTracker tracker, DatabaseIdentifier databaseIdentifier) {
- try {
- return new IngresCallableSQLResultRunnable(con, configuration, closeCon,
- tracker, databaseIdentifier);
- } catch (Exception e) {
- e.printStackTrace();
- return null;
- }
- }
-
-
-}
View
51 ...rc/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresProcIdentifierImpl.java
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.util.Map;
-
-import org.eclipse.datatools.sqltools.core.DatabaseIdentifier;
-import org.eclipse.datatools.sqltools.core.ProcIdentifierImpl;
-
-/**
- * An Ingres related proc identifier implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresProcIdentifierImpl extends ProcIdentifierImpl {
-
- public IngresProcIdentifierImpl(int type, DatabaseIdentifier db, Map map) {
- super(type, db, map);
- }
-
- /**
- * Overridden to avoid database identifiers within procedure calls.
- *
- * @see org.eclipse.datatools.sqltools.core.ProcIdentifierImpl#getCallableStringWithoutGroupNumber(boolean)
- */
- public String getCallableStringWithoutGroupNumber(boolean quoted_id) {
- // Ingres cannot handle database identifiers within procedure call
- // statements.
- // Statements like the following will not work "{?=call
- // database.owner.procedure()}"
-
- String result = super.getCallableStringWithoutGroupNumber(quoted_id);
-
- // remove the database name from the statement
- if (this.getDatabaseName() != null
- && this.getDatabaseName().length() > 0) {
- result = result.substring(result.indexOf(".") + 1);
- }
-
- return result;
- }
-
-}
View
82 ....ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresSQLObjectItem.java
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import java.sql.ParameterMetaData;
-import java.sql.SQLException;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import org.eclipse.datatools.modelbase.sql.routines.Routine;
-import org.eclipse.datatools.modelbase.sql.schema.SQLObject;
-import org.eclipse.datatools.sqltools.core.IControlConnection;
-import org.eclipse.datatools.sqltools.core.ProcIdentifier;
-import org.eclipse.datatools.sqltools.core.dbitem.ParameterDescriptor;
-import org.eclipse.datatools.sqltools.core.internal.dbitem.SQLObjectItem;
-
-/**
- * An Ingres related SQL object item implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresSQLObjectItem extends SQLObjectItem {
-
- private static final Pattern RESULT_ROW_PATTERN = Pattern
- .compile(
- "(\\s*)(create)(.*)(result)(\\s*)(row)(.*)(begin)(.*)", Pattern.DOTALL | Pattern.MULTILINE | Pattern.CASE_INSENSITIVE); //$NON-NLS-1$
-
- public IngresSQLObjectItem(ProcIdentifier proc, SQLObject routine,
- IControlConnection controlConn) {
- super(proc, routine, controlConn);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.datatools.sqltools.core.internal.dbitem.SQLObjectItem#getParameterDescriptor()
- */
- public ParameterDescriptor[] getParameterDescriptor() throws SQLException {
- ParameterDescriptor[] pds = super.getParameterDescriptor();
-
- if (pds != null) {
- for (int i = 0; i < pds.length; i++) {
- if (isRowProducing()) {
- pds[i].setParmType(ParameterMetaData.parameterModeIn);
- } else {
- pds[i].setParmType(ParameterMetaData.parameterModeInOut);
- }
- }
- }
-
- return pds;
- }
-
- /**
- * Determine if the wrapped routine is row producing.
- *
- * @return <code>true</code> if the routine is rowproducing,
- * <code>false</code> otherwise
- */
- private boolean isRowProducing() {
- boolean result = true;
- if (_routine instanceof Routine) {
- Routine ingresProcedure = (Routine) _routine;
- if (ingresProcedure.getSource() != null
- && ingresProcedure.getSource().getBody() != null) {
- Matcher matcher = RESULT_ROW_PATTERN.matcher(ingresProcedure
- .getSource().getBody());
- result = matcher.matches();
- }
- }
- return result;
- }
-
-}
View
40 ...res.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/core/IngresSQLService.java
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.core;
-
-import org.eclipse.datatools.enablement.ingres.internal.ui.parser.IngresSQLParser;
-import org.eclipse.datatools.enablement.ingres.internal.ui.sql.IngresSQLSyntax;
-import org.eclipse.datatools.sqltools.core.services.SQLService;
-import org.eclipse.datatools.sqltools.sql.ISQLSyntax;
-import org.eclipse.datatools.sqltools.sql.parser.SQLParser;
-
-/**
- * An Ingres related SQL service implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresSQLService extends SQLService {
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.services.SQLService#getSQLParser()
- */
- public SQLParser getSQLParser() {
- return IngresSQLParser.getInstance();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.sqltools.core.services.SQLService#getSQLSyntax()
- */
- public ISQLSyntax getSQLSyntax() {
- return new IngresSQLSyntax();
- }
-
-}
View
48 ...i/src/org/eclipse/datatools/enablement/ingres/internal/ui/filters/UdtUdfFilterFilter.java
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.filters;
-
-import org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.virtual.IUDFNode;
-import org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.virtual.IUDTNode;
-import org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngresSchema;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-
-/**
- * Filter to exclude UDF and UDT nodes.
- *
- * @author enrico.schenk@ingres.com
- */
-public class UdtUdfFilterFilter extends ViewerFilter {
-
- /**
- * Returns false if the given element is an <code>IUDFNode</code> or an
- * <code>IUDTNode</code> that is part of a representation of an Ingres
- * database.
- *
- * @see org.eclipse.jface.viewers.ViewerFilter#select(org.eclipse.jface.viewers.Viewer,
- * java.lang.Object, java.lang.Object)
- */
- public boolean select(final Viewer viewer, final Object parentElement,
- final Object element) {
- if (element instanceof IUDFNode
- && ((IUDFNode) element).getParent() instanceof IngresSchema) {
- return false;
- }
- if (element instanceof IUDTNode
- && ((IUDTNode) element).getParent() instanceof IngresSchema) {
- return false;
- }
-
- return true;
- }
-
-}
View
38 ...ngres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/l10n/messages.properties
@@ -1,38 +0,0 @@
-DBEvent.Name=Events
-DBEvent.DisplayName=Events
-Synonym.Name=Synonyms
-Synonym.DisplayName=Synonyms
-Synonym.NameDecoration=\ (-> {0})
-
-ProcedureParameter.Name=Parameters
-ProcedureParameter.DisplayName=Parameters
-
-HoverInfoBuilder.alter.database =
-HoverInfoBuilder.alter.event =
-HoverInfoBuilder.alter.function =
-HoverInfoBuilder.alter.index =
-HoverInfoBuilder.alter.procedure =
-HoverInfoBuilder.alter.table = alter table [schema.]table_name\nadd [column] column_name format [default_clause]\n[null_clause] [column_constraint] [collate collation_name]\n| drop [column] column_name restrict | cascade\n| add [constraint constraint_name] constraint_spec\n| drop constraint constraint_name restrict | cascade\n| alter [column] column_name format [default_clause]\n[null_clause] [column_constraint] [collate collation_name]
-HoverInfoBuilder.alter.trigger =
-HoverInfoBuilder.alter.view =
-HoverInfoBuilder.begin =
-HoverInfoBuilder.begin.transaction =
-HoverInfoBuilder.call = call system (command =command_string)
-HoverInfoBuilder.create.database =
-HoverInfoBuilder.create.default =
-HoverInfoBuilder.create.event =
-HoverInfoBuilder.create.function =
-HoverInfoBuilder.create.index =
-HoverInfoBuilder.create.procedure =
-HoverInfoBuilder.create.table = create table [schema.] table_name\n(column_specification {, column_specification }\n[, [constraint constraint_name] table_constraint\n{, [constraint constraint_name] table_constraint}])\n[with with_clause]
-HoverInfoBuilder.create.trigger =
-HoverInfoBuilder.create.view = create view view_name\r\n[(column_name {, column_name})]\r\nas select_stmt\r\n[with check option]
-HoverInfoBuilder.declare = declare statement_name {, statement_name) statement
-HoverInfoBuilder.delete = delete from [schema.]table_name [corr_name]\n[where search_condition];
-HoverInfoBuilder.drop.view = drop objecttype [schema.]objectname {, [schema.]objectname};
-HoverInfoBuilder.insert = insert into [schema.]table_name\n[(column {, column})]\n[values (expr{, expr})] | [subselect];
-HoverInfoBuilder.others =
-HoverInfoBuilder.root =
-HoverInfoBuilder.select = select [first rowCount] [all | distinct]\n[from from_source {, from_source}\n[where search_condition]\n[group by column {, column}]\n[having search_condition]\n[union [all] full_select]\n[order by result_column [asc|desc]\n{, result_column [asc|desc]}]\n[for [deferred | direct] update of column {, column}];
-HoverInfoBuilder.select.into =
-HoverInfoBuilder.update = update [schema.]table_name [corr_name]\n[from [schema.]table_name [corr_name]\n{ , [schema.]table_name [corr_name]}]\nset column = expression {, column = expression}\n[where search_condition];
View
30 ...es.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTDeclareComma.java
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTDeclareComma;
-
-public class ASTDeclareComma extends SimpleNode implements IASTDeclareComma{
- public ASTDeclareComma(int id) {
- super(id);
- }
-
- public ASTDeclareComma(IngresSQLParser p, int id) {
- super(p, id);
- }
-
-
- /** Accept the visitor. **/
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-}
View
29 ....ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTDeclareKeyword.java
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTDeclareKeyword;
-
-public class ASTDeclareKeyword extends SimpleNode implements IASTDeclareKeyword {
- public ASTDeclareKeyword(int id) {
- super(id);
- }
-
- public ASTDeclareKeyword(IngresSQLParser p, int id) {
- super(p, id);
- }
-
-
- /** Accept the visitor. **/
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-}
View
29 ...gres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTExpression.java
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-
-
-public class ASTExpression extends SimpleNode {
- public ASTExpression(int id) {
- super(id);
- }
-
- public ASTExpression(IngresSQLParser p, int id) {
- super(p, id);
- }
-
-
- /** Accept the visitor. **/
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-}
View
76 ...res.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLDataType.java
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTSQLDataType;
-
-public class ASTSQLDataType extends SimpleNode implements IASTSQLDataType {
-
- private String _name;
-
- /** can also be used be as precision when _scale is not zero */
- private int _length;
-
- private int _scale;
-
- public ASTSQLDataType(int id) {
- super(id);
- }
-
- public ASTSQLDataType(IngresSQLParser p, int id) {
- super(p, id);
- }
-
- public int getLength() {
- return _length;
- }
-
- public void setLength(int length) {
- this._length = length;
- }
-
- public String getName() {
- return _name;
- }
-
- public void setName(String name) {
- this._name = name;
- }
-
- public String toString() {
- String retval = _name;
-
- if (_length > 0 || _scale >= 0) {
- if (_scale >= 0) {
- retval = retval + "(" + _length + "," + _scale + ")";
- } else {
- retval = retval + "(" + _length + ")";
- }
-
- }
-
- return retval;
- }
-
- public int getScale() {
- return _scale;
- }
-
- public void setScale(int scale) {
- this._scale = scale;
- }
-
- /** Accept the visitor. * */
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-}
View
30 ...es.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLDelimiter.java
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTSQLDelimiter;
-
-public class ASTSQLDelimiter extends SimpleNode implements IASTSQLDelimiter{
- public ASTSQLDelimiter(int id) {
- super(id);
- }
-
- public ASTSQLDelimiter(IngresSQLParser p, int id) {
- super(p, id);
- }
-
-
- /** Accept the visitor. **/
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-}
View
100 ...ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLParam.java
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTSQLDataType;
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTSQLParam;
-
-public class ASTSQLParam extends SimpleNode implements IASTSQLParam {
-
- private String _name;
-
- private String _type;
-
- private IASTSQLDataType _typeObj;
-
- private String _defaultValue;
-
- private int _direction = INPUT;
-
- public ASTSQLParam(int id) {
- super(id);
- }
-
- public ASTSQLParam(IngresSQLParser p, int id) {
- super(p, id);
- }
-
- /** Accept the visitor. * */
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-
- public String getDefaultValue() {
- return _defaultValue;
- }
-
- public void setDefaultValue(String defaultValue) {
- this._defaultValue = defaultValue;
- }
-
- public int getDirection() {
- return _direction;
- }
-
- public void setDirection(int direction) {
- this._direction = direction;
- }
-
- public String getName() {
- return _name;
- }
-
- public void setName(String name) {
- this._name = name;
- }
-
- public String getType() {
- return _type;
- }
-
- public void setType(String type) {
- this._type = type;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.IASTSQLParam#getTypeObject()
- */
- public IASTSQLDataType getTypeObject() {
- return _typeObj;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.IASTSQLParam#setTypeObject(com.sybase.stf.dmp.ui.sqleditor.sql.parser.IASTSQLDataType)
- */
- public void setTypeObject(IASTSQLDataType type) {
- _typeObj = type;
- }
-
- public String toString() {
- String retval = _name == null ? "" : _name;
- retval += (_type == null ? "" : ":" + _type);
- retval += (_defaultValue == null ? "" : ":" + _defaultValue);
- retval += (_direction == 1 ? ":" + "OUT" : (_direction == 2 ? ":" + "INOUT" : "")); //$NON-NLS-2$ //$NON-NLS-4$
-
- return retval;
- }
-}
View
136 ...es.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTSQLStatement.java
@@ -1,136 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-
-import org.eclipse.datatools.sqltools.sql.parser.SQLParserConstants;
-import org.eclipse.datatools.sqltools.sql.parser.Token;
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTSQLStatement;
-import org.eclipse.datatools.sqltools.sql.parser.util.ASTSQLStatementUtil;
-import org.eclipse.swt.graphics.Image;
-
-public class ASTSQLStatement extends SimpleNode implements IASTSQLStatement, IngresSQLParserConstants {
-
- private int _type = -1;
-
- private ArrayList objectIds = new ArrayList();
-
- public ASTSQLStatement(int id) {
- super(id);
- }
-
- public ASTSQLStatement(IngresSQLParser p, int id) {
- super(p, id);
- }
-
- /** Accept the visitor. * */
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-
- public int getType() {
- if (_type == -1) {
- _type = determineType();
- }
- return _type;
- }
-
- /**
- * @return
- */
- private int determineType() {
- switch (_firstToken.kind) {
- case SELECT:
- return SQLParserConstants.TYPE_SQL_SELECT;
- case UPDATE:
- return SQLParserConstants.TYPE_SQL_UPDATE;
- case DELETE:
- return SQLParserConstants.TYPE_SQL_DELETE;
- case INSERT:
- return SQLParserConstants.TYPE_SQL_INSERT;
- case CREATE:
- Token createToken = _firstToken.next;
- switch (createToken.kind) {
- case DATABASE:
- case TEMPORARY:
- return SQLParserConstants.TYPE_SQL_CREATE_DATABASE;
- case TABLE:
- return SQLParserConstants.TYPE_SQL_CREATE_TABLE;
- case VIEW:
- return SQLParserConstants.TYPE_SQL_CREATE_VIEW;
- case PROCEDURE:
- case ID:
- if ("FUNCTION".equalsIgnoreCase(createToken.image)) {
- return SQLParserConstants.TYPE_SQL_CREATE_FUNCTION;
- }
- if ("TRIGGER".equalsIgnoreCase(createToken.image)) {
- return SQLParserConstants.TYPE_SQL_CREATE_TRIGGER;
- }
- case DEFAULT_VAL:
- return SQLParserConstants.TYPE_SQL_CREATE_DEFAULT;
- default:
- break;
- }
- break;
- case ALTER:
- Token alterToken = _firstToken.next;
- switch (alterToken.kind) {
- case DATABASE:
- case TEMPORARY:
- return SQLParserConstants.TYPE_SQL_ALTER_DATABASE;
- case TABLE:
- return SQLParserConstants.TYPE_SQL_ALTER_TABLE;
- default:
- break;
- }
- case DECLARE:
- Token declareToken = _firstToken.next;
- switch (declareToken.kind) {
- case VAR_NAME:
- return SQLParserConstants.TYPE_SQL_DECLARE;
- default:
- break;
- }
- case BEGIN:
- return SQLParserConstants.TYPE_SQL_BEGIN;
- default:
- break;
- }
- return SQLParserConstants.TYPE_SQL_OTHERS;
- }
-
- public String toString() {
- return ASTSQLStatementUtil.toString(getType(), this,
- getObjectIdentifiers());
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.IASTSQLStatement#getAffectedTables()
- */
- public Collection getObjectIdentifiers() {
- return objectIds;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.IASTSQLStatement#addObjectIdentifiers(java.lang.String)
- */
- public void addObjectIdentifier(String name) {
- objectIds.add(name);
- }
-
-}
View
93 ...nt.ingres.ui/src/org/eclipse/datatools/enablement/ingres/internal/ui/parser/ASTStart.java
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Ingres Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Ingres Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.datatools.enablement.ingres.internal.ui.parser;
-
-import org.eclipse.datatools.sqltools.sql.parser.ast.IASTStart;
-import org.eclipse.jface.text.IDocument;
-import org.eclipse.jface.text.source.IAnnotationModel;
-import org.eclipse.ui.IEditorInput;
-
-public class ASTStart extends SimpleNode implements IASTStart {
-
- private IEditorInput _input;
-
- private IDocument _document;
-
- private IAnnotationModel _model;
-
- public ASTStart(int id) {
- super(id);
- }
-
- public ASTStart(IngresSQLParser p, int id) {
- super(p, id);
- }
-
- /** Accept the visitor. * */
- public Object jjtAccept(IngresSQLParserVisitor visitor, Object data) {
- return visitor.visit(this, data);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.Node#setEditorInput(org.eclipse.ui.IEditorInput)
- */
- public void doSetEditorInput(IEditorInput input) {
- _input = input;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.Node#getEditorInput()
- */
- public IEditorInput doGetEditorInput() {
- return _input;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.IASTStart#doSetDocument(org.eclipse.jface.text.IDocument)
- */
- public void doSetDocument(IDocument document) {
- _document = document;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.sybase.stf.dmp.ui.sqleditor.sql.parser.IASTStart#doGetDocument()
-