Permalink
Browse files

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

Sprout from master 2010-06-24 14:04:43 UTC Brian Fitzpatrick <bfitzpat@redhat.com> '[BZ317378] Fix delivered for decorator label issue'
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/.classpath
    plugins/org.eclipse.datatools.enablement.ingres/.project
    plugins/org.eclipse.datatools.enablement.ingres/.settings/org.eclipse.jdt.core.prefs
    plugins/org.eclipse.datatools.enablement.ingres/META-INF/MANIFEST.MF
    plugins/org.eclipse.datatools.enablement.ingres/about.html
    plugins/org.eclipse.datatools.enablement.ingres/build.properties
    plugins/org.eclipse.datatools.enablement.ingres/icons/jdbc_16.gif
    plugins/org.eclipse.datatools.enablement.ingres/models/ingressqlmodel.ecore
    plugins/org.eclipse.datatools.enablement.ingres/models/ingressqlmodel.genmodel
    plugins/org.eclipse.datatools.enablement.ingres/plugin.properties
    plugins/org.eclipse.datatools.enablement.ingres/plugin.xml
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/containment/IngresGroupID.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogCheckConstraint.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogSchema.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogTable.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogTrigger.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogUtils.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogView.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresProcedure.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/connectivity/IngresConnectionFactory.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/connectivity/IngresJDBCConnection.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/connectivity/VersionHelper.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/containment/IngresDBEventContainmentProvider.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/containment/IngresSchemaContainmentProvider.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/containment/IngresSynonymContainmentProvider.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/ddl/IngresDdlBuilder.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/ddl/IngresDdlGenerator.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/ddl/IngresDdlScript.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresDBEventLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresProcedureColumnLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresProcedureSourceLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresRoutineLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresSchemaLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresSequenceLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresSynonymLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableConstraintDefinitionLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableConstraintLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableTriggerLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTriggerSourceLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresViewSourceLoader.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/LoaderHelper.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresDBEvent.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresIdentitySpecifier.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresSchema.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresSynonym.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresTrigger.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresViewTable.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngressqlmodelFactory.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngressqlmodelPackage.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresDBEventImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresIdentitySpecifierImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresSchemaImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresSynonymImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresTriggerImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresViewTableImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngressqlmodelFactoryImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngressqlmodelPackageImpl.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/util/IngressqlmodelAdapterFactory.java
    plugins/org.eclipse.datatools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/util/IngressqlmodelSwitch.java
  • Loading branch information...
1 parent f362e92 commit 7e8b70b4b7d45f0ce38fd4f7b04ccfdd21f81c1d cvs2svn committed Jun 24, 2010
Showing with 0 additions and 9,810 deletions.
  1. +0 −22 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/.project
  2. +0 −8 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 −6 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/build.properties
  5. +0 −16 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/.classpath
  9. +0 −33 plugins/org.eclipse.datatools.enablement.ingres/.project
  10. +0 −12 plugins/org.eclipse.datatools.enablement.ingres/.settings/org.eclipse.jdt.core.prefs
  11. +0 −18 plugins/org.eclipse.datatools.enablement.ingres/META-INF/MANIFEST.MF
  12. +0 −28 plugins/org.eclipse.datatools.enablement.ingres/about.html
  13. +0 −9 plugins/org.eclipse.datatools.enablement.ingres/build.properties
  14. BIN plugins/org.eclipse.datatools.enablement.ingres/icons/jdbc_16.gif
  15. +0 −37 plugins/org.eclipse.datatools.enablement.ingres/models/ingressqlmodel.ecore
  16. +0 −41 plugins/org.eclipse.datatools.enablement.ingres/models/ingressqlmodel.genmodel
  17. +0 −56 plugins/org.eclipse.datatools.enablement.ingres/plugin.properties
  18. +0 −163 plugins/org.eclipse.datatools.enablement.ingres/plugin.xml
  19. +0 −24 ...ools.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/containment/IngresGroupID.java
  20. +0 −113 ...es/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogCheckConstraint.java
  21. +0 −408 ...ment.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogSchema.java
  22. +0 −158 ...ement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogTable.java
  23. +0 −98 ...ent.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogTrigger.java
  24. +0 −22 ...ement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogUtils.java
  25. +0 −88 ...lement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogView.java
  26. +0 −87 ...ablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresProcedure.java
  27. +0 −81 ...es/src/org/eclipse/datatools/enablement/ingres/internal/connectivity/IngresConnectionFactory.java
  28. +0 −90 ...ngres/src/org/eclipse/datatools/enablement/ingres/internal/connectivity/IngresJDBCConnection.java
  29. +0 −78 ...ement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/connectivity/VersionHelper.java
  30. +0 −40 ...rg/eclipse/datatools/enablement/ingres/internal/containment/IngresDBEventContainmentProvider.java
  31. +0 −75 ...org/eclipse/datatools/enablement/ingres/internal/containment/IngresSchemaContainmentProvider.java
  32. +0 −40 ...rg/eclipse/datatools/enablement/ingres/internal/containment/IngresSynonymContainmentProvider.java
  33. +0 −463 ....enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/ddl/IngresDdlBuilder.java
  34. +0 −278 ...nablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/ddl/IngresDdlGenerator.java
  35. +0 −104 ...s.enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/ddl/IngresDdlScript.java
  36. +0 −126 ...ment.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresDBEventLoader.java
  37. +0 −45 ...res/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresProcedureColumnLoader.java
  38. +0 −78 ...res/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresProcedureSourceLoader.java
  39. +0 −54 ...ment.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresRoutineLoader.java
  40. +0 −40 ...ement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresSchemaLoader.java
  41. +0 −190 ...ent.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresSequenceLoader.java
  42. +0 −132 ...ment.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresSynonymLoader.java
  43. +0 −98 ...g/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableConstraintDefinitionLoader.java
  44. +0 −135 ...res/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableConstraintLoader.java
  45. +0 −50 ...lement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableLoader.java
  46. +0 −131 ...ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTableTriggerLoader.java
  47. +0 −80 ...ngres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresTriggerSourceLoader.java
  48. +0 −77 ...t.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/IngresViewSourceLoader.java
  49. +0 −51 ....enablement.ingres/src/org/eclipse/datatools/enablement/ingres/internal/loaders/LoaderHelper.java
  50. +0 −69 ...ement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresDBEvent.java
  51. +0 −258 ...es/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresIdentitySpecifier.java
  52. +0 −80 ...lement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresSchema.java
  53. +0 −96 ...ement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresSynonym.java
  54. +0 −69 ...ement.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresTrigger.java
  55. +0 −69 ...ent.ingres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngresViewTable.java
  56. +0 −104 ...gres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngressqlmodelFactory.java
  57. +0 −1,532 ...gres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/IngressqlmodelPackage.java
  58. +0 −221 ...res/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresDBEventImpl.java
  59. +0 −555 ...g/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresIdentitySpecifierImpl.java
  60. +0 −210 ...gres/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresSchemaImpl.java
  61. +0 −288 ...res/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresSynonymImpl.java
  62. +0 −171 ...res/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresTriggerImpl.java
  63. +0 −167 ...s/src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngresViewTableImpl.java
  64. +0 −165 ...org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngressqlmodelFactoryImpl.java
  65. +0 −497 ...org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/impl/IngressqlmodelPackageImpl.java
  66. +0 −382 .../eclipse/datatools/enablement/ingres/models/ingressqlmodel/util/IngressqlmodelAdapterFactory.java
  67. +0 −418 .../src/org/eclipse/datatools/enablement/ingres/models/ingressqlmodel/util/IngressqlmodelSwitch.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
8 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/META-INF/MANIFEST.MF
@@ -1,8 +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: %PROVIDER_NAME
-Eclipse-LazyStart: true
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>June 15, 2009</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
6 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/build.properties
@@ -1,6 +0,0 @@
-bin.includes = META-INF/,\
- plugin.xml,\
- runtime/,\
- plugin.properties,\
- about.html
-src.includes = about.html
View
16 plugins/org.eclipse.datatools.enablement.ingres.dbdefinition/plugin.properties
@@ -1,16 +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
-PROVIDER_NAME=Eclipse Data Tools Platform
-
-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/.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
33 plugins/org.eclipse.datatools.enablement.ingres/.project
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.datatools.enablement.ingres</name>
- <comment>JavaCC Nature</comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>sf.eclipse.javacc.javaccbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <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/.settings/org.eclipse.jdt.core.prefs
@@ -1,12 +0,0 @@
-#Tue Apr 01 12:23:59 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
18 plugins/org.eclipse.datatools.enablement.ingres/META-INF/MANIFEST.MF
@@ -1,18 +0,0 @@
-Manifest-Version: 1.0
-Bundle-Localization: plugin
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.datatools.enablement.ingres;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %PROVIDER_NAME
-Require-Bundle: 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;bundle-version="[1.0.1,2.0.0)",
- org.eclipse.datatools.modelbase.sql;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)"
-Eclipse-LazyStart: true
-Export-Package: org.eclipse.datatools.enablement.ingres.containment,
- org.eclipse.datatools.enablement.ingres.models.ingressqlmodel,
- org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.impl,
- org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.util
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
View
28 plugins/org.eclipse.datatools.enablement.ingres/about.html
@@ -1,28 +0,0 @@
-<html>
-<head>
-<title>About This Content</title>
-</head>
-<body>
-<div>
-<h3>About This Content</h3>
-<p>June 15, 2009</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
9 plugins/org.eclipse.datatools.enablement.ingres/build.properties
@@ -1,9 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.properties,\
- plugin.xml,\
- icons/,\
- about.html
-src.includes = about.html
View
BIN plugins/org.eclipse.datatools.enablement.ingres/icons/jdbc_16.gif
Deleted file not rendered
View
37 plugins/org.eclipse.datatools.enablement.ingres/models/ingressqlmodel.ecore
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="ingressqlmodel"
- nsURI="http:///org/eclipse/datatools/enablement/ingres/ingressqlmodel.ecore" nsPrefix="IngresModel">
- <eClassifiers xsi:type="ecore:EClass" name="IngresSynonym" eSuperTypes="platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//schema/SQLObject">
- <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1"
- eType="#//IngresSchema" eOpposite="#//IngresSchema/synonyms"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="tableName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IngresDBEvent" eSuperTypes="platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//schema/SQLObject">
- <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1"
- eType="#//IngresSchema" eOpposite="#//IngresSchema/dBEvents"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IngresSchema" eSuperTypes="platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//schema/Schema">
- <eStructuralFeatures xsi:type="ecore:EReference" name="dBEvents" upperBound="-1"
- eType="#//IngresDBEvent" eOpposite="#//IngresDBEvent/schema"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="synonyms" upperBound="-1"
- eType="#//IngresSynonym" eOpposite="#//IngresSynonym/schema"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IngresViewTable" eSuperTypes="platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//tables/ViewTable">
- <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="ecore:EClass platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//routines/Source"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IngresTrigger" eSuperTypes="platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//tables/Trigger">
- <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="ecore:EClass platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//routines/Source"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IngresIdentitySpecifier" eSuperTypes="platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.ecore#//schema/IdentitySpecifier">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dataType" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="seqLength" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBigInteger"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="seqPrecision" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBigInteger"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximumOption" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBooleanObject"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="minimumOption" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBooleanObject"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="cacheSize" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBigInteger"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="cacheOption" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBooleanObject"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="orderOption" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBooleanObject"/>
- </eClassifiers>
-</ecore:EPackage>
View
41 plugins/org.eclipse.datatools.enablement.ingres/models/ingressqlmodel.genmodel
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2008 Ingres Corporation and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Ingres Corporation - initial API and implementation"
- modelDirectory="/org.eclipse.datatools.enablement.ingres/src" modelPluginID="org.eclipse.datatools.enablement.ingres"
- redirection="" modelName="Ingressqlmodel" editPluginClass="org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.provider.IngressqlmodelEditPlugin"
- editorPluginClass="org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.presentation.IngressqlmodelEditorPlugin"
- rootImplementsInterface="" runtimeCompatibility="true" importerID="org.eclipse.emf.importer.ecore"
- providerRootExtendsClass="" usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/plugin/org.eclipse.datatools.modelbase.sql/model/sqlmodel.genmodel#//sqlmodel">
- <foreignModel>ingressqlmodel.ecore</foreignModel>
- <genPackages prefix="Ingressqlmodel" basePackage="org.eclipse.datatools.enablement.ingres.models"
- disposableProviderFactory="true" ecorePackage="ingressqlmodel.ecore#/">
- <genClasses ecoreClass="ingressqlmodel.ecore#//IngresSynonym">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ingressqlmodel.ecore#//IngresSynonym/schema"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresSynonym/tableName"/>
- </genClasses>
- <genClasses ecoreClass="ingressqlmodel.ecore#//IngresDBEvent">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ingressqlmodel.ecore#//IngresDBEvent/schema"/>
- </genClasses>
- <genClasses ecoreClass="ingressqlmodel.ecore#//IngresSchema">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ingressqlmodel.ecore#//IngresSchema/dBEvents"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ingressqlmodel.ecore#//IngresSchema/synonyms"/>
- </genClasses>
- <genClasses ecoreClass="ingressqlmodel.ecore#//IngresViewTable">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ingressqlmodel.ecore#//IngresViewTable/source"/>
- </genClasses>
- <genClasses ecoreClass="ingressqlmodel.ecore#//IngresTrigger">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ingressqlmodel.ecore#//IngresTrigger/source"/>
- </genClasses>
- <genClasses ecoreClass="ingressqlmodel.ecore#//IngresIdentitySpecifier">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/dataType"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/seqLength"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/seqPrecision"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/maximumOption"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/minimumOption"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/cacheSize"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/cacheOption"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ingressqlmodel.ecore#//IngresIdentitySpecifier/orderOption"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
View
56 plugins/org.eclipse.datatools.enablement.ingres/plugin.properties
@@ -1,56 +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 Plug-in
-PROVIDER_NAME = Eclipse Data Tools Platform
-
-# Parent category for Ingres in the driver definition
-CATEGORY_PRODUCT_FAMILY_NAME = Ingres
-CATEGORY_PRODUCT_FAMILY_DESCRIPTION =
-
-# Category for Ingres 2006 in the driver definition
-CATEGORY_PRODUCT_NAME = 2006
-CATEGORY_PRODUCT_DESCRIPTION =
-
-# Ingres 2006 Driver Template
-DRIVER_NAME = Ingres JDBC Driver
-DRIVER_DESCRIPTION =
-
-# Various properties for the driver template
-
-DRIVER_DRIVER_CLASS_NAME = Driver Class
-DRIVER_DRIVER_CLASS_DESCRIPTION =
-
-DRIVER_DB_VENDOR_NAME = Vendor
-DRIVER_DB_VENDOR_DESCRIPTION =
-
-DRIVER_DB_VERSION_NAME = 2006
-DRIVER_DB_VERSION_DESCRIPTION =
-
-DRIVER_DATABASE_NAME_NAME = Database Name
-DRIVER_DATABASE_NAME_DESCRIPTION =
-
-DRIVER_DB_URL_NAME = Connection URL
-DRIVER_DB_URL_DESCRIPTION =
-
-DRIVER_DB_USERNAME_NAME = Username
-DRIVER_DB_USERNAME_DESCRIPTION =
-
-DRIVER_DB_PASSWORD_NAME = Password
-DRIVER_DB_PASSWORD_DESCRIPTION =
-
-# Connection Profile
-CONNECTION_PROFILE_NAME = Ingres Database
-
-# Connection factory
-CONNECTION_FACTORY_NAME = Ingres JDBC Connection Factory
-# ====================================================================
-
View
163 plugins/org.eclipse.datatools.enablement.ingres/plugin.xml
@@ -1,163 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.eclipse.datatools.connectivity.driverExtension">
- <category
- description="%CATEGORY_PRODUCT_FAMILY_DESCRIPTION"
- id="org.eclipse.datatools.enablement.ingres.driverCategory"
- name="%CATEGORY_PRODUCT_FAMILY_NAME"
- parentCategory="org.eclipse.datatools.connectivity.db.driverCategory">
- </category>
- <category
- description="%CATEGORY_PRODUCT_DESCRIPTION"
- id="org.eclipse.datatools.enablement.ingres.2006.driverCategory"
- name="%CATEGORY_PRODUCT_NAME"
- parentCategory="org.eclipse.datatools.enablement.ingres.driverCategory">
- </category>
- <driverTemplate
- createDefault="false"
- description="%DRIVER_DESCRIPTION"
- emptyJarListIsOK="false"
- id="org.eclipse.datatools.enablement.ingres.2006.driverTemplate"
- jarList="iijdbc.jar"
- name="%DRIVER_NAME"
- parentCategory="org.eclipse.datatools.enablement.ingres.2006.driverCategory">
- <properties>
- <property
- description="%DRIVER_DRIVER_CLASS_DESCRIPTION"
- id="org.eclipse.datatools.connectivity.db.driverClass"
- name="%DRIVER_DRIVER_CLASS_NAME"
- required="true"
- value="com.ingres.jdbc.IngresDriver"
- visible="true">
- </property>
- <property
- description="%DRIVER_DB_VENDOR_DESCRIPTION"
- id="org.eclipse.datatools.connectivity.db.vendor"
- name="%DRIVER_DB_VENDOR_NAME"
- required="true"
- value="Ingres"
- visible="false">
- </property>
- <property
- description="%DRIVER_DB_VERSION_DESCRIPTION"
- id="org.eclipse.datatools.connectivity.db.version"
- name="%DRIVER_DB_VERSION_NAME"
- required="true"
- value="2006"
- visible="false">
- </property>
- <property
- description="%DRIVER_DATABASE_NAME_DESCRIPTION"
- id="org.eclipse.datatools.connectivity.db.databaseName"
- name="%DRIVER_DATABASE_NAME_NAME"
- required="true"
- value="demodb"
- visible="true">
- </property>
- <property
- description="%DRIVER_DB_URL_DESCRIPTION"
- example="jdbc:ingres://localhost:II7/demodb"
- id="org.eclipse.datatools.connectivity.db.URL"
- name="%DRIVER_DB_URL_NAME"
- required="true"
- value="jdbc:ingres://localhost:II7/demodb"
- visible="true">
- </property>
- <property
- description="%DRIVER_DB_USERNAME_DESCRIPTION"
- id="org.eclipse.datatools.connectivity.db.username"
- name="%DRIVER_DB_USERNAME_NAME"
- required="false"
- visible="true">
- </property>
- <property
- description="%DRIVER_DB_PASSWORD_DESCRIPTION"
- id="org.eclipse.datatools.connectivity.db.password"
- name="%DRIVER_DB_PASSWORD_NAME"
- required="false"
- visible="true">
- </property>
- </properties>
- </driverTemplate>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.connectionProfile">
- <connectionProfile
- category="org.eclipse.datatools.connectivity.db.category"
- icon="icons/jdbc_16.gif"
- id="org.eclipse.datatools.enablement.ingres.connectionProfile"
- name="%CONNECTION_PROFILE_NAME"
- pingFactory="org.eclipse.datatools.enablement.ingres.internal.connectivity.IngresConnectionFactory"
- propertiesPersistenceHook="org.eclipse.datatools.connectivity.db.generic.GenericDBPropertiesPersistenceHook">
- </connectionProfile>
- <connectionFactory
- class="org.eclipse.datatools.enablement.ingres.internal.connectivity.IngresConnectionFactory"
- id="java.sql.Connection"
- name="%CONNECTION_FACTORY_NAME"
- profile="org.eclipse.datatools.enablement.ingres.connectionProfile">
- </connectionFactory>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.sqm.core.catalog">
- <overrideLoader
- eclass="org.eclipse.datatools.modelbase.sql.schema.Schema"
- product="Ingres"
- provider="org.eclipse.datatools.enablement.ingres.internal.loaders.IngresSchemaLoader"
- version="2006">
- </overrideLoader>
- <overrideLoader
- eclass="org.eclipse.datatools.modelbase.sql.tables.Table"
- product="Ingres"
- provider="org.eclipse.datatools.enablement.ingres.internal.loaders.IngresTableLoader"
- version="2006">
- </overrideLoader>
- <overrideLoader
- eclass="org.eclipse.datatools.modelbase.sql.routines.Routine"
- product="Ingres"
- provider="org.eclipse.datatools.enablement.ingres.internal.loaders.IngresRoutineLoader"
- version="2006">
- </overrideLoader>
- <overrideLoader
- eclass="org.eclipse.datatools.modelbase.sql.constraints.TableConstraint"
- product="Ingres"
- provider="org.eclipse.datatools.enablement.ingres.internal.loaders.IngresTableConstraintLoader"
- version="2006">
- </overrideLoader>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.sqm.core.logicalContainment">
- <containment
- class="IngresDBEvent"
- package="http:///org/eclipse/datatools/enablement/ingres/ingressqlmodel.ecore"
- provider="org.eclipse.datatools.enablement.ingres.internal.containment.IngresDBEventContainmentProvider">
- </containment>
- <containment
- class="IngresSynonym"
- package="http:///org/eclipse/datatools/enablement/ingres/ingressqlmodel.ecore"
- provider="org.eclipse.datatools.enablement.ingres.internal.containment.IngresSynonymContainmentProvider">
- </containment>
- <containment
- class="IngresSchema"
- package="http:///org/eclipse/datatools/enablement/ingres/ingressqlmodel.ecore"
- provider="org.eclipse.datatools.enablement.ingres.internal.containment.IngresSchemaContainmentProvider">
- </containment>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.sqm.core.ddlGeneration">
- <generator
- class="org.eclipse.datatools.enablement.ingres.internal.ddl.IngresDdlGenerator"
- product="Ingres"
- version="2006">
- </generator>
- </extension>
- <extension
- point="org.eclipse.datatools.connectivity.sqm.core.mappings">
- <providerIDtoDriverCategoryID
- driverCategoryID="org.eclipse.datatools.enablement.ingres.driverCategory"
- providerID="org.eclipse.datatools.enablement.ingres.connectionProfile">
- </providerIDtoDriverCategoryID>
- </extension>
-
-</plugin>
View
24 ...blement.ingres/src/org/eclipse/datatools/enablement/ingres/containment/IngresGroupID.java
@@ -1,24 +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.containment;
-
-/**
- * @author enrico.schenk@ingres.com
- */
-public class IngresGroupID {
-
- public static final String DB_EVENT_GROUP_ID = "dbeventgroup"; //$NON-NLS-1$
-
- public static final String SYNONYM_GROUP_ID = "synonymgroup"; //$NON-NLS-1$
-
- public static final String PROCEDURE_PARAMETER_GROUP_ID = "proceduregroup"; //$NON-NLS-1$
-
-}
View
113 ...rg/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogCheckConstraint.java
@@ -1,113 +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.catalog;
-
-import java.lang.ref.SoftReference;
-import java.sql.Connection;
-
-import org.eclipse.datatools.connectivity.sqm.core.rte.ICatalogObject;
-import org.eclipse.datatools.connectivity.sqm.core.rte.RefreshManager;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresTableConstraintDefinitionLoader;
-import org.eclipse.datatools.modelbase.sql.constraints.impl.CheckConstraintImpl;
-import org.eclipse.datatools.modelbase.sql.expressions.SQLExpressionsFactory;
-import org.eclipse.datatools.modelbase.sql.expressions.SearchCondition;
-import org.eclipse.datatools.modelbase.sql.schema.Database;
-
-/**
- * Ingres related extension of CheckConstraint to provide support for loading the
- * constraint definition.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresCatalogCheckConstraint extends CheckConstraintImpl implements
- ICatalogObject {
-
- private final Object SEARCHCONDITION_LOCK = new Object();
-
- private Boolean searchConditionLoaded = Boolean.FALSE;
-
- private SoftReference constraintDefinitionLoaderRef;
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.sqm.core.rte.ICatalogObject#getCatalogDatabase()
- */
- public Database getCatalogDatabase() {
- return getBaseTable().getSchema().getCatalog().getDatabase();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.sqm.core.rte.ICatalogObject#getConnection()
- */
- public Connection getConnection() {
- Database db = getCatalogDatabase();
- if (db instanceof ICatalogObject) {
- return ((ICatalogObject) db).getConnection();
- }
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.sqm.core.rte.ICatalogObject#refresh()
- */
- public void refresh() {
- synchronized (SEARCHCONDITION_LOCK) {
- if (searchConditionLoaded.booleanValue()) {
- searchConditionLoaded = Boolean.FALSE;
- }
- }
- RefreshManager.getInstance().referesh(this);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.modelbase.sql.constraints.impl.CheckConstraintImpl#getSearchCondition()
- */
- public SearchCondition getSearchCondition() {
- synchronized (SEARCHCONDITION_LOCK) {
- if (!searchConditionLoaded.booleanValue()) {
- loadSearchCondition();
- }
- }
- return super.getSearchCondition();
- }
-
- protected final IngresTableConstraintDefinitionLoader getConstraintDefinitionLoader() {
- if (constraintDefinitionLoaderRef == null || constraintDefinitionLoaderRef.get() == null) {
- constraintDefinitionLoaderRef = new SoftReference(
- createConstraintDefinitionLoader());
- }
- return (IngresTableConstraintDefinitionLoader) constraintDefinitionLoaderRef.get();
- }
-
- protected IngresTableConstraintDefinitionLoader createConstraintDefinitionLoader() {
- return new IngresTableConstraintDefinitionLoader(this);
- }
-
- private void loadSearchCondition() {
- boolean deliver = eDeliver();
- try {
- eSetDeliver(false);
-
- SearchCondition loadedSearchCondition = SQLExpressionsFactory.eINSTANCE
- .createSearchConditionDefault();
- getConstraintDefinitionLoader().loadCheckConstraintDefinition(
- getBaseTable().getSchema().getName(),
- getBaseTable().getName(), getName(), loadedSearchCondition);
- setSearchCondition(loadedSearchCondition);
-
- searchConditionLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
-
-}
View
408 ...res/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogSchema.java
@@ -1,408 +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.catalog;
-
-import java.lang.ref.SoftReference;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.datatools.connectivity.sqm.core.definition.DatabaseDefinition;
-import org.eclipse.datatools.connectivity.sqm.core.rte.RefreshManager;
-import org.eclipse.datatools.connectivity.sqm.core.util.CatalogLoaderOverrideManager;
-import org.eclipse.datatools.connectivity.sqm.internal.core.RDBCorePlugin;
-import org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFilter;
-import org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFilterListener;
-import org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfo;
-import org.eclipse.datatools.connectivity.sqm.internal.core.connection.DatabaseConnectionRegistry;
-import org.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresDBEventLoader;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresSequenceLoader;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresSynonymLoader;
-import org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngressqlmodelPackage;
-import org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.impl.IngresSchemaImpl;
-import org.eclipse.datatools.modelbase.sql.schema.Catalog;
-import org.eclipse.datatools.modelbase.sql.schema.SQLSchemaPackage;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-
-/**
- * Ingres Schema
- *
- * Enhances the original implementation of <code>JDBCSchema</code> to support
- * the following features:
- * <ul>
- * <li>Sequence loading</li>
- * </ul>
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresCatalogSchema extends IngresSchemaImpl {
-
- private final Object SEQUENCE_LOCK = new Object();
-
- private final Object DBEVENT_LOCK = new Object();
-
- private final Object SYNONYM_LOCK = new Object();
-
- private Boolean sequencesLoaded = Boolean.FALSE;
-
- private Boolean dbEventsLoaded = Boolean.FALSE;
-
- private Boolean synonymsLoaded = Boolean.FALSE;
-
- private transient SoftReference sequenceLoaderRef;
-
- private transient SoftReference dbEventLoaderRef;
-
- private transient SoftReference synonymLoaderRef;
-
- /**
- * Registers/unregisters a filter listener to handle sequence filter events.
- *
- * @see org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema#basicSetCatalog(org.eclipse.datatools.modelbase.sql.schema.Catalog,
- * org.eclipse.emf.common.notify.NotificationChain)
- */
- public NotificationChain basicSetCatalog(Catalog newCatalog,
- NotificationChain msgs) {
- if (catalog != null && catalog.getDatabase() != null) {
- ConnectionInfo connectionInfo = DatabaseConnectionRegistry
- .getInstance().getConnectionForDatabase(
- catalog.getDatabase());
- connectionInfo.removeFilterListener(filterListener);
- }
- if (newCatalog != null && newCatalog.getDatabase() != null) {
- ConnectionInfo connectionInfo = DatabaseConnectionRegistry
- .getInstance().getConnectionForDatabase(
- newCatalog.getDatabase());
- connectionInfo.addFilterListener(filterListener);
- }
- return super.basicSetCatalog(newCatalog, msgs);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema#refresh()
- */
- public void refresh() {
- synchronized (SEQUENCE_LOCK) {
- if (sequencesLoaded.booleanValue()) {
- sequencesLoaded = Boolean.FALSE;
- }
- }
- synchronized (DBEVENT_LOCK) {
- if (dbEventsLoaded.booleanValue()) {
- dbEventsLoaded = Boolean.FALSE;
- }
- }
- synchronized (SYNONYM_LOCK) {
- if (synonymsLoaded.booleanValue()) {
- synonymsLoaded = Boolean.FALSE;
- }
- }
- super.refresh();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl#getSequences()
- */
- public EList getSequences() {
- synchronized (SEQUENCE_LOCK) {
- if (!sequencesLoaded.booleanValue())
- loadSequences();
- }
- return super.getSequences();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.impl.IngresSchemaImpl#getSynonyms()
- */
- public EList getSynonyms() {
- synchronized (SYNONYM_LOCK) {
- if (!synonymsLoaded.booleanValue())
- loadSynonyms();
- }
- return super.getSynonyms();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.impl.IngresSchemaImpl#getDBEvents()
- */
- public EList getDBEvents() {
- synchronized (DBEVENT_LOCK) {
- if (!dbEventsLoaded.booleanValue())
- loadDbEvents();
- }
- return super.getDBEvents();
- }
-
- protected final IngresSequenceLoader getSequenceLoader() {
- // cache the SequenceLoader for better performance
- if (sequenceLoaderRef == null || sequenceLoaderRef.get() == null) {
- sequenceLoaderRef = new SoftReference(
- createSequenceLoader());
- }
- return (IngresSequenceLoader) sequenceLoaderRef.get();
- }
-
- private void loadSequences() {
- synchronized (SEQUENCE_LOCK) {
- boolean deliver = eDeliver();
- try {
- List container = super.getSequences();
- List existingSequences = new ArrayList(container);
-
- eSetDeliver(false);
-
- container.clear();
- getSequenceLoader().loadSequences(container, existingSequences);
- getSequenceLoader().clearSequences(existingSequences);
-
- sequencesLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
- }
-
- protected final IngresDBEventLoader getDbEventLoader() {
- // cache the SequenceLoader for better performance
- if (dbEventLoaderRef == null || dbEventLoaderRef.get() == null) {
- dbEventLoaderRef = new SoftReference(
- createDbEventLoader());
- }
- return (IngresDBEventLoader) dbEventLoaderRef.get();
- }
-
- private void loadDbEvents() {
- synchronized (DBEVENT_LOCK) {
- boolean deliver = eDeliver();
- try {
- List container = super.getDBEvents();
- List existingDbEvents = new ArrayList(container);
-
- eSetDeliver(false);
-
- container.clear();
- getDbEventLoader().loadDbEvents(container, existingDbEvents);
- getDbEventLoader().clearDbEvents(existingDbEvents);
-
- dbEventsLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
- }
-
- protected final IngresSynonymLoader getSynonymLoader() {
- // cache the SequenceLoader for better performance
- if (synonymLoaderRef == null || synonymLoaderRef.get() == null) {
- synonymLoaderRef = new SoftReference(
- createSynonymLoader());
- }
- return (IngresSynonymLoader) synonymLoaderRef.get();
- }
-
- private void loadSynonyms() {
- synchronized (SYNONYM_LOCK) {
- boolean deliver = eDeliver();
- try {
- List container = super.getSynonyms();
- List existingSynonyms = new ArrayList(container);
-
- eSetDeliver(false);
-
- container.clear();
- getSynonymLoader().loadSynonyms(container, existingSynonyms);
- getSynonymLoader().clearSynonyms(existingSynonyms);
-
- synonymsLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
- }
-
- /**
- * Creates and returns an instance of the SequenceLoader. By default an
- * instance of the <code>IngresSequenceLoader</code> is returned. This
- * behavior can be changed by providing an <code>overrideLoader</code>
- * using the eclass org.eclipse.datatools.modelbase.sql.schema.Sequence.
- *
- * @return An instance of IngresSequenceLoader.
- */
- private IngresSequenceLoader createSequenceLoader() {
- // get the database definiton for the actual database
- DatabaseDefinition databaseDefinition = RDBCorePlugin.getDefault()
- .getDatabaseDefinitionRegistry().getDefinition(
- this.getCatalogDatabase());
-
- // see if someone is interested in providing an own sequence loader
- JDBCBaseLoader loader = CatalogLoaderOverrideManager.INSTANCE
- .getLoaderForDatabase(databaseDefinition,
- SQLSchemaPackage.eINSTANCE.getSequence()
- .getInstanceClassName());
-
- if (loader != null) {
- IngresSequenceLoader sequenceLoader = (IngresSequenceLoader) loader;
- sequenceLoader.setCatalogObject(this);
- return sequenceLoader;
- }
-
- return new IngresSequenceLoader(this);
- }
-
- /**
- * Creates and returns an instance of the DbEventLoader. By default an
- * instance of the <code>IngresDbEventLoader</code> is returned. This
- * behavior can be changed by providing an <code>overrideLoader</code>
- * using the eclass
- * org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngresDBEvent
- *
- * @return An instance of IngresDbEventLoader.
- */
- private IngresDBEventLoader createDbEventLoader() {
- // get the database definiton for the actual database
- DatabaseDefinition databaseDefinition = RDBCorePlugin.getDefault()
- .getDatabaseDefinitionRegistry().getDefinition(
- this.getCatalogDatabase());
-
- // see if someone is interested in providing an own db event loader
- JDBCBaseLoader loader = CatalogLoaderOverrideManager.INSTANCE
- .getLoaderForDatabase(databaseDefinition,
- IngressqlmodelPackage.eINSTANCE.getIngresDBEvent()
- .getInstanceClassName());
-
- if (loader != null) {
- IngresDBEventLoader sequenceLoader = (IngresDBEventLoader) loader;
- sequenceLoader.setCatalogObject(this);
- return sequenceLoader;
- }
-
- return new IngresDBEventLoader(this);
- }
-
- /**
- * Creates and returns an instance of the SynonymLoader. By default an
- * instance of the <code>IngresSynonymLoader</code> is returned. This
- * behavior can be changed by providing an <code>overrideLoader</code>
- * using the eclass
- * org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.IngresSynonym
- *
- * @return An instance of IngresSynonymLoader.
- */
- private IngresSynonymLoader createSynonymLoader() {
- // get the database definiton for the actual database
- DatabaseDefinition databaseDefinition = RDBCorePlugin.getDefault()
- .getDatabaseDefinitionRegistry().getDefinition(
- this.getCatalogDatabase());
-
- // see if someone is interested in providing an own db event loader
- JDBCBaseLoader loader = CatalogLoaderOverrideManager.INSTANCE
- .getLoaderForDatabase(databaseDefinition,
- IngressqlmodelPackage.eINSTANCE.getIngresSynonym()
- .getInstanceClassName());
-
- if (loader != null) {
- IngresSynonymLoader synonymLoader = (IngresSynonymLoader) loader;
- synonymLoader.setCatalogObject(this);
- return synonymLoader;
- }
-
- return new IngresSynonymLoader(this);
- }
-
- /**
- * Force refresh of loaded sequences if necessary.
- *
- * @param filterKey
- * the id of the changed filter
- */
- private void handleFilterChanged(String filterKey) {
- boolean refresh = false;
- ConnectionInfo conInf = DatabaseConnectionRegistry.getInstance()
- .getConnectionForDatabase(getCatalogDatabase());
- if (sequencesLoaded.booleanValue()
- && filterKey.equals(getSequenceFilterKey())
- || (conInf != null
- && conInf.getFilter(getSequenceFilterKey()) == null && (ConnectionFilter.SEQUENCE_FILTER
- .equals(filterKey) || filterKey.equals(getCatalog()
- .getName()
- + ConnectionFilter.FILTER_SEPARATOR
- + ConnectionFilter.SEQUENCE_FILTER)))) {
- sequencesLoaded = Boolean.FALSE;
- getSequenceLoader().clearSequences(super.getSequences());
- refresh = true;
- }
- if (dbEventsLoaded.booleanValue()
- && filterKey.equals(getDbEventFilterKey())
- || (conInf != null
- && conInf.getFilter(getDbEventFilterKey()) == null && (IngresCatalogUtils.DB_EVENT_FILTER
- .equals(filterKey) || filterKey.equals(getCatalog()
- .getName()
- + ConnectionFilter.FILTER_SEPARATOR
- + IngresCatalogUtils.DB_EVENT_FILTER)))) {
- dbEventsLoaded = Boolean.FALSE;
- getDbEventLoader().clearDbEvents(super.getDBEvents());
- refresh = true;
- }
- if (synonymsLoaded.booleanValue()
- && filterKey.equals(getSynonymFilterKey())
- || (conInf != null
- && conInf.getFilter(getSynonymFilterKey()) == null && (IngresCatalogUtils.SYNONYM_FILTER
- .equals(filterKey) || filterKey.equals(getCatalog()
- .getName()
- + ConnectionFilter.FILTER_SEPARATOR
- + IngresCatalogUtils.SYNONYM_FILTER)))) {
- synonymsLoaded = Boolean.FALSE;
- getSynonymLoader().clearSynonyms(super.getSynonyms());
- refresh = true;
- }
- if (refresh) {
- RefreshManager.getInstance().referesh(this);
- }
- }
-
- private String getSequenceFilterKey() {
- return getCatalog().getName() + ConnectionFilter.FILTER_SEPARATOR
- + getName() + ConnectionFilter.FILTER_SEPARATOR
- + ConnectionFilter.SEQUENCE_FILTER;
- }
-
- private String getDbEventFilterKey() {
- return getCatalog().getName() + ConnectionFilter.FILTER_SEPARATOR
- + getName() + ConnectionFilter.FILTER_SEPARATOR
- + IngresCatalogUtils.DB_EVENT_FILTER;
- }
-
- private String getSynonymFilterKey() {
- return getCatalog().getName() + ConnectionFilter.FILTER_SEPARATOR
- + getName() + ConnectionFilter.FILTER_SEPARATOR
- + IngresCatalogUtils.DB_EVENT_FILTER;
- }
-
- private final transient ConnectionFilterListener filterListener = new ConnectionFilterListener() {
-
- public void connectionFilterAdded(String filterKey) {
- handleFilterChanged(filterKey);
- }
-
- public void connectionFilterRemoved(String filterKey) {
- handleFilterChanged(filterKey);
- }
-
- };
-
-}
View
158 ...gres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogTable.java
@@ -1,158 +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.catalog;
-
-import java.lang.ref.SoftReference;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.datatools.connectivity.sqm.core.definition.DatabaseDefinition;
-import org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCTable;
-import org.eclipse.datatools.connectivity.sqm.core.util.CatalogLoaderOverrideManager;
-import org.eclipse.datatools.connectivity.sqm.internal.core.RDBCorePlugin;
-import org.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader;
-import org.eclipse.datatools.connectivity.sqm.loader.JDBCTableConstraintLoader;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresTableConstraintLoader;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresTableTriggerLoader;
-import org.eclipse.datatools.modelbase.sql.constraints.CheckConstraint;
-import org.eclipse.datatools.modelbase.sql.constraints.Constraint;
-import org.eclipse.datatools.modelbase.sql.tables.SQLTablesPackage;
-import org.eclipse.emf.common.util.EList;
-
-/**
- * Ingres related extension of JDBCTable to provide support for loading
- * triggers and constraints.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresCatalogTable extends JDBCTable {
-
- private final Object TRIGGER_LOCK = new Object();
-
- private final Object CCS_LOCK = new Object();
-
- private Boolean triggersLoaded = Boolean.FALSE;
-
- private Boolean ccsLoaded = Boolean.FALSE;
-
- private transient SoftReference triggerLoaderRef;
-
- public EList getTriggers() {
- synchronized (TRIGGER_LOCK) {
- if (!triggersLoaded.booleanValue())
- loadTriggers();
- }
- return super.getTriggers();
- }
-
- public EList getConstraints() {
- synchronized (CCS_LOCK) {
- if (!ccsLoaded.booleanValue())
- loadCheckConstraints();
- }
- return super.getConstraints();
- }
-
- public void refresh() {
- synchronized (TRIGGER_LOCK) {
- if (triggersLoaded.booleanValue()) {
- triggersLoaded = Boolean.FALSE;
- }
- }
- synchronized (CCS_LOCK) {
- if (ccsLoaded.booleanValue()) {
- ccsLoaded = Boolean.FALSE;
- }
- }
- super.refresh();
- }
-
- private void loadTriggers() {
- boolean deliver = eDeliver();
- try {
- List container = super.getTriggers();
- List existingTriggers = new ArrayList(container);
-
- eSetDeliver(false);
-
- container.clear();
-
- getTriggerLoader().loadTriggers(container, existingTriggers);
-
- getTriggerLoader().clearTriggers(existingTriggers);
-
- triggersLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
-
- protected final IngresTableTriggerLoader getTriggerLoader() {
- if (triggerLoaderRef == null || triggerLoaderRef.get() == null) {
- triggerLoaderRef = new SoftReference(createTriggerLoader());
- }
- return (IngresTableTriggerLoader) triggerLoaderRef.get();
- }
-
- protected IngresTableTriggerLoader createTriggerLoader() {
- DatabaseDefinition databaseDefinition = RDBCorePlugin.getDefault()
- .getDatabaseDefinitionRegistry().getDefinition(
- this.getCatalogDatabase());
-
- JDBCBaseLoader loader = CatalogLoaderOverrideManager.INSTANCE
- .getLoaderForDatabase(databaseDefinition,
- SQLTablesPackage.eINSTANCE.getTrigger()
- .getInstanceClassName());
-
- if (loader != null) {
- IngresTableTriggerLoader triggerLoader = (IngresTableTriggerLoader) loader;
- triggerLoader.setCatalogObject(this);
- return triggerLoader;
- }
- return new IngresTableTriggerLoader(this);
- }
-
- private void loadCheckConstraints() {
- boolean deliver = eDeliver();
- try {
- List container = super.getConstraints();
- List existingCCs = internalGetCheckConstraints(container);
- container.removeAll(existingCCs);
- JDBCTableConstraintLoader loader = getConstraintLoader();
- if (loader instanceof IngresTableConstraintLoader) {
- ((IngresTableConstraintLoader) loader).loadCheckConstraints(
- container, existingCCs);
- }
- ccsLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
-
- private List internalGetCheckConstraints(Collection constraints) {
- Vector uniqueConstraints = new Vector();
- for (Iterator it = constraints.iterator(); it.hasNext();) {
- Constraint currentConstraint = (Constraint) it.next();
- if (currentConstraint instanceof CheckConstraint) {
- uniqueConstraints.add(currentConstraint);
- }
- }
- return uniqueConstraints;
- }
-
-}
View
98 ...es/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogTrigger.java
@@ -1,98 +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.catalog;
-
-import java.lang.ref.SoftReference;
-import java.sql.Connection;
-
-import org.eclipse.datatools.connectivity.sqm.core.rte.ICatalogObject;
-import org.eclipse.datatools.connectivity.sqm.core.rte.RefreshManager;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresTriggerSourceLoader;
-import org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.impl.IngresTriggerImpl;
-import org.eclipse.datatools.modelbase.sql.routines.SQLRoutinesFactory;
-import org.eclipse.datatools.modelbase.sql.routines.Source;
-import org.eclipse.datatools.modelbase.sql.schema.Database;
-
-/**
- * This class represents an Ingres Trigger (Rule).
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresCatalogTrigger extends IngresTriggerImpl implements
- ICatalogObject {
-
- private final Object SOURCE_LOCK = new Object();
-
- private Boolean sourceLoaded = Boolean.FALSE;
-
- private SoftReference sourceLoaderRef;
-
- public Database getCatalogDatabase() {
- return this.getSchema().getCatalog().getDatabase();
- }
-
- public Connection getConnection() {
- Database db = this.getCatalogDatabase();
- if (db instanceof ICatalogObject) {
- return ((ICatalogObject) db).getConnection();
- }
- return null;
- }
-
- public void refresh() {
- synchronized (SOURCE_LOCK) {
- if (sourceLoaded.booleanValue()) {
- sourceLoaded = Boolean.FALSE;
- }
- }
- RefreshManager.getInstance().referesh(this);
- }
-
- public Source getSource() {
- synchronized (SOURCE_LOCK) {
- if (!sourceLoaded.booleanValue()) {
- loadSource();
- }
- }
- return super.getSource();
- }
-
- protected final IngresTriggerSourceLoader getSourceLoader() {
- if (sourceLoaderRef == null || sourceLoaderRef.get() == null) {
- sourceLoaderRef = new SoftReference(
- createSourceLoader());
- }
- return (IngresTriggerSourceLoader) sourceLoaderRef.get();
- }
-
- protected IngresTriggerSourceLoader createSourceLoader() {
- return new IngresTriggerSourceLoader(this);
- }
-
- private void loadSource() {
- boolean deliver = eDeliver();
- try {
- eSetDeliver(false);
-
- Source loadedSource = SQLRoutinesFactory.eINSTANCE.createSource();
- getSourceLoader().loadSource(this.getSubjectTable().getName(),
- this.getSchema().getName(), this.getName(), loadedSource);
- setSource(loadedSource);
-
- sourceLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
-
-}
View
22 ...gres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogUtils.java
@@ -1,22 +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.catalog;
-
-/**
- * @author enrico.schenk@ingres.com
- */
-public class IngresCatalogUtils {
-
- public static final String DB_EVENT_FILTER = "DatatoolsDbEventFilterPredicate"; //$NON-NLS-1$
-
- public static final String SYNONYM_FILTER = "DatatoolsSynonymFilterPredicate"; //$NON-NLS-1$
-
-}
View
88 ...ngres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresCatalogView.java
@@ -1,88 +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.catalog;
-
-import java.lang.ref.SoftReference;
-
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresViewSourceLoader;
-import org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.impl.IngresViewTableImpl;
-import org.eclipse.datatools.modelbase.sql.routines.SQLRoutinesFactory;
-import org.eclipse.datatools.modelbase.sql.routines.Source;
-
-/**
- * Ingres related extension of JDBCView to provide support for loading the
- * procedure source.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresCatalogView extends IngresViewTableImpl {
-
- private final Object SOURCE_LOCK = new Object();
-
- private Boolean sourceLoaded = Boolean.FALSE;
-
- private SoftReference sourceLoaderRef;
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCView#refresh()
- */
- public void refresh() {
- synchronized (SOURCE_LOCK) {
- if (sourceLoaded.booleanValue()) {
- sourceLoaded = Boolean.FALSE;
- }
- }
- super.refresh();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.enablement.ingres.models.ingressqlmodel.impl.IngresViewTableImpl#getSource()
- */
- public Source getSource() {
- synchronized (SOURCE_LOCK) {
- if (!sourceLoaded.booleanValue()) {
- loadSource();
- }
- }
- return super.getSource();
- }
-
- protected final IngresViewSourceLoader getSourceLoader() {
- if (sourceLoaderRef == null || sourceLoaderRef.get() == null) {
- sourceLoaderRef = new SoftReference(
- createSourceLoader());
- }
- return (IngresViewSourceLoader) sourceLoaderRef.get();
- }
-
- protected IngresViewSourceLoader createSourceLoader() {
- return new IngresViewSourceLoader(this);
- }
-
- private void loadSource() {
- boolean deliver = eDeliver();
- try {
- eSetDeliver(false);
-
- Source loadedSource = SQLRoutinesFactory.eINSTANCE.createSource();
- getSourceLoader().loadSource(this.getSchema().getName(),
- this.getName(), loadedSource);
- setSource(loadedSource);
-
- sourceLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
-
-}
View
87 ....ingres/src/org/eclipse/datatools/enablement/ingres/internal/catalog/IngresProcedure.java
@@ -1,87 +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.catalog;
-
-import java.lang.ref.SoftReference;
-
-import org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCProcedure;
-import org.eclipse.datatools.enablement.ingres.internal.loaders.IngresProcedureSourceLoader;
-import org.eclipse.datatools.modelbase.sql.routines.SQLRoutinesFactory;
-import org.eclipse.datatools.modelbase.sql.routines.Source;
-
-/**
- * Ingres related extension of JDBCProcedure to provide support for loading the
- * procedure source.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresProcedure extends JDBCProcedure {
-
- private final Object SOURCE_LOCK = new Object();
-
- private Boolean sourceLoaded = Boolean.FALSE;
-
- private SoftReference sourceLoaderRef;
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCProcedure#refresh()
- */
- public void refresh() {
- synchronized (SOURCE_LOCK) {
- if (sourceLoaded.booleanValue()) {
- sourceLoaded = Boolean.FALSE;
- }
- }
- super.refresh();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.modelbase.sql.routines.impl.RoutineImpl#getSource()
- */
- public Source getSource() {
- synchronized (SOURCE_LOCK) {
- if (!sourceLoaded.booleanValue()) {
- loadSource();
- }
- }
- return super.getSource();
- }
-
- protected final IngresProcedureSourceLoader getSourceLoader() {
- if (sourceLoaderRef == null || sourceLoaderRef.get() == null) {
- sourceLoaderRef = new SoftReference(createSourceLoader());
- }
- return (IngresProcedureSourceLoader) sourceLoaderRef.get();
- }
-
- protected IngresProcedureSourceLoader createSourceLoader() {
- return new IngresProcedureSourceLoader(this);
- }
-
- private void loadSource() {
- boolean deliver = eDeliver();
- try {
- eSetDeliver(false);
-
- Source loadedSource = SQLRoutinesFactory.eINSTANCE.createSource();
- getSourceLoader().loadSource(getSchema().getName(), getName(),
- loadedSource);
- setSource(loadedSource);
-
- sourceLoaded = Boolean.TRUE;
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- eSetDeliver(deliver);
- }
- }
-
-}
View
81 ...rg/eclipse/datatools/enablement/ingres/internal/connectivity/IngresConnectionFactory.java
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007, 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.connectivity;
-
-import java.io.File;
-import java.io.IOException;
-
-import org.eclipse.datatools.connectivity.IConnection;
-import org.eclipse.datatools.connectivity.IConnectionFactory;
-import org.eclipse.datatools.connectivity.IConnectionProfile;
-
-/**
- * Ingres connection factory implementation.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresConnectionFactory implements IConnectionFactory {
-
- public static final String INGRES_TRACE_LOG = "ingres.jdbc.trace.log";
-
- public static final String INGRES_TRACE_DRV = "ingres.jdbc.trace.drv";
-
- /**
- * This method creates a connection to an Ingres DBMS.
- *
- * Driver logging is activated. The log file is retrieved from the system
- * property "ingres.jdbc.trace.log". If no filename is found, a new
- * temporary log file is used. The following logging parameter is set:
- *
- * ingres.jdbc.trace.drv = 1 (if not passed as system property)
- *
- * @see org.eclipse.datatools.connectivity.IConnectionFactory#createConnection(org.eclipse.datatools.connectivity.IConnectionProfile)
- */
- public IConnection createConnection(final IConnectionProfile profile) {
- if (System.getProperty(INGRES_TRACE_LOG) == null) {
- try {
- final File log = File.createTempFile("ingres_jdbc_trace_",
- ".log");
- log.deleteOnExit();
- System.setProperty(INGRES_TRACE_LOG, log.getAbsolutePath());
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- if (System.getProperty(INGRES_TRACE_DRV) == null) {
- System.setProperty(INGRES_TRACE_DRV, "1");
- }
-
- final IngresJDBCConnection connection = new IngresJDBCConnection(profile,
- getClass());
- connection.open();
- return connection;
- }
-
- /**
- * This method creates a connection to an Ingres DBMS.
- *
- * Driver logging is activated. The log file is retrieved from the system
- * property "ingres.jdbc.trace.log". If no filename is found, a new
- * temporary log file is used. The following logging parameter is set:
- *
- * ingres.jdbc.trace.drv = 1 (if not passed as system property)
- *
- * @see org.eclipse.datatools.connectivity.IConnectionFactory#createConnection(org.eclipse.datatools.connectivity.IConnectionProfile,
- * java.lang.String, java.lang.String)
- */
- public IConnection createConnection(final IConnectionProfile profile,
- final String uid, String pwd) {
- return createConnection(profile);
- }
-
-}
View
90 ...c/org/eclipse/datatools/enablement/ingres/internal/connectivity/IngresJDBCConnection.java
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007, 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.connectivity;
-
-import java.sql.Connection;
-import java.sql.DatabaseMetaData;
-import java.sql.SQLException;
-
-import org.eclipse.datatools.connectivity.IConnectionProfile;
-import org.eclipse.datatools.connectivity.Version;
-import org.eclipse.datatools.connectivity.db.generic.JDBCConnection;
-
-/**
- * JDBC connection object to provide support for Ingres databases.
- *
- * @author enrico.schenk@ingres.com
- */
-public class IngresJDBCConnection extends JDBCConnection {
-
- private String mServerName;
-
- private Version mServerVersion;
-
- private Version mTechVersion;
-
- /**
- * Constructor
- *
- * @param profile
- * @param factoryClass
- */
- public IngresJDBCConnection(IConnectionProfile profile, Class factoryClass) {
- super(profile, factoryClass);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection#getProviderName()
- */
- public String getProviderName() {
- return mServerName;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection#getProviderVersion()
- */
- public Version getProviderVersion() {
- return mServerVersion;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection#getTechnologyVersion()
- */
- public Version getTechnologyVersion() {
- return mTechVersion;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection#initVersions()
- */
- protected void initVersions() {
- try {
- DatabaseMetaData dbmd = ((Connection) getRawConnection())
- .getMetaData();
- try {
- mServerName = dbmd.getDatabaseProductName();
- } catch (Throwable e) {
- }
- try {
- String versionString = dbmd.getDatabaseProductVersion();
- mServerVersion = VersionHelper.valueOf(versionString);
- } catch (Throwable e) {
- }
- try {
- mTechVersion = new Version(dbmd.getJDBCMajorVersion(), dbmd
- .getJDBCMinorVersion(), 0, "");
- } catch (Throwable e) {
- }
- } catch (SQLException e) {
- }