db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r367023 - in /db/ddlutils/trunk/src/java/org/apache/ddlutils: PlatformInfo.java platform/axion/AxionPlatform.java
Date Sun, 08 Jan 2006 12:05:56 GMT
Author: tomdz
Date: Sun Jan  8 04:05:51 2006
New Revision: 367023

URL: http://svn.apache.org/viewcvs?rev=367023&view=rev
Log:
Added platform info flag specifying whether the platform supports delimited identifiers

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/PlatformInfo.java
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/AxionPlatform.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/PlatformInfo.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/PlatformInfo.java?rev=367023&r1=367022&r2=367023&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/PlatformInfo.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/PlatformInfo.java Sun Jan  8 04:05:51 2006
@@ -72,6 +72,9 @@
     /** Whether identifiers are case sensitive or not. */
     private boolean _caseSensitive = false;
 
+    /** Whether delimited identifiers are supported or not. */
+    private boolean _supportingDelimitedIdentifiers = true;
+
     /** Whether delimited identifiers are used or not. */
     private boolean _useDelimitedIdentifiers = true;
 
@@ -396,6 +399,26 @@
     public void setCaseSensitive(boolean caseSensitive)
     {
         _caseSensitive = caseSensitive;
+    }
+
+    /**
+     * Determines whether delimited identifiers are supported.
+     *
+     * @return <code>true</code> if delimited identifiers are supported
+     */
+    public boolean isSupportingDelimitedIdentifiers()
+    {
+        return _supportingDelimitedIdentifiers;
+    }
+
+    /**
+     * Specifies whether delimited identifiers are supported.
+     *
+     * @param areSupported <code>true</code> if delimited identifiers are supported
+     */
+    public void setSupportingDelimitedIdentifiers(boolean areSupported)
+    {
+        _supportingDelimitedIdentifiers = areSupported;
     }
 
     /**

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/AxionPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/AxionPlatform.java?rev=367023&r1=367022&r2=367023&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/AxionPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/AxionPlatform.java Sun Jan
 8 04:05:51 2006
@@ -43,6 +43,7 @@
     {
         PlatformInfo info = new PlatformInfo();
 
+        info.setSupportingDelimitedIdentifiers(false);
         info.setUseDelimitedIdentifiers(false);
         info.setCommentsSupported(false);
         info.setRequiringNullAsDefaultValue(false);



Mime
View raw message