Cool. If you could perhaps provide your changes as a patch (unified
diff), then I would add them to DdlUtils.

cheers,
Tom

Mmmh ... "unified" like that ?
I'm still digging into SVN.
---
Index: /Users/dgrandi/Documents/Eclipse/3.1.2/workspace/DdlUtils/src/java/org/apache/ddlutils/PlatformUtils.java =================================================================== --- /Users/dgrandi/Documents/Eclipse/3.1.2/workspace/DdlUtils/src/java/org/apache/ddlutils/PlatformUtils.java (revision 410118) +++ /Users/dgrandi/Documents/Eclipse/3.1.2/workspace/DdlUtils/src/java/org/apache/ddlutils/PlatformUtils.java (working copy) @@ -141,6 +141,7 @@ jdbcSubProtocolToPlatform.put(Db2Platform.JDBC_SUBPROTOCOL, Db2Platform.DATABASENAME);

jdbcSubProtocolToPlatform.put(Db2Platform.JDBC_SUBPROTOCOL_OS390_1, Db2Platform.DATABASENAME);

jdbcSubProtocolToPlatform.put(Db2Platform.JDBC_SUBPROTOCOL_OS390_2, Db2Platform.DATABASENAME); + jdbcSubProtocolToPlatform.put(Db2Platform.JDBC_SUBPROTOCOL_JTOPEN, Db2Platform.DATABASENAME);

jdbcSubProtocolToPlatform.put(PlatformUtils.JDBC_SUBPROTOCOL_DATADIRECT_DB2, Db2Platform.DATABASENAME);

jdbcSubProtocolToPlatform.put(PlatformUtils.JDBC_SUBPROTOCOL_INET_DB2, Db2Platform.DATABASENAME);

jdbcSubProtocolToPlatform.put(DerbyPlatform.JDBC_SUBPROTOCOL, DerbyPlatform.DATABASENAME); Index: /Users/dgrandi/Documents/Eclipse/3.1.2/workspace/DdlUtils/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java =================================================================== --- /Users/dgrandi/Documents/Eclipse/3.1.2/workspace/DdlUtils/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java (revision 410118) +++ /Users/dgrandi/Documents/Eclipse/3.1.2/workspace/DdlUtils/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java (working copy) @@ -43,6 +43,8 @@ public static final String JDBC_SUBPROTOCOL_OS390_1 = "db2os390"; /** An alternative subprotocol used by the standard DB2 driver on OS/390. */
     public static final String JDBC_SUBPROTOCOL_OS390_2 = "db2os390sqlj";
+    /** An alternative subprotocol used by the JTOpen driver on OS/400. */
+    public static final String JDBC_SUBPROTOCOL_JTOPEN = "as400";

     /**
      * Creates a new platform instance.

---
Maybe it will grow to a XyzPlatform (may be not ...).
I'm trying to shape a tool for transport tables and rows in XML back and forth from AS/400 and the other 3 platforms we use.
Now I caught the tables ...

Best regards,

    Davide Grandi
---
Ing. Davide Grandi
[EMAIL PROTECTED]

Reply via email to