View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001335 | SymmetricDS | Bug | public | 2013-07-22 22:39 | 2014-02-03 01:53 |
Reporter | snpe | Assigned To | abrougher | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.5.0 | ||||
Target Version | 3.5.4 | Fixed in Version | 3.5.4 | ||
Summary | 0001335: dbexport doesn't work with SQL Anywhere | ||||
Description | - create some table, for instance, test - call ../bin/dbexport --engine <your_engine> --schema DBA --format sql test You will got: An exception occurred. Please see the following for details: ------------------------------------------------------------------------------- java.lang.RuntimeException: Unable to create DML statements for unknown dialect: sqlanywhere at org.jumpmind.db.platform.DmlStatementFactory.createDmlStatement(DmlStatementFactory.java:50) at org.jumpmind.db.platform.DmlStatementFactory.createDmlStatement(DmlStatementFactory.java:40) at org.jumpmind.symmetric.io.data.DbExport$WriterWrapper.startTable(DbExport.java:444) at org.jumpmind.symmetric.io.data.DbExport.writeTable(DbExport.java:210) at org.jumpmind.symmetric.io.data.DbExport.exportTables(DbExport.java:182) at org.jumpmind.symmetric.io.data.DbExport.exportTables(DbExport.java:160) at org.jumpmind.symmetric.io.data.DbExport.exportTables(DbExport.java:150) at org.jumpmind.symmetric.DbExportCommand.executeWithOptions(DbExportCommand.java:186) at org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:130) at org.jumpmind.symmetric.DbExportCommand.main(DbExportCommand.java:73) Attached is a patch. | ||||
Tags | No tags attached. | ||||
|
dbexport.patch (1,049 bytes)
Index: symmetric-db/src/main/java/org/jumpmind/db/platform/DdlBuilderFactory.java =================================================================== --- symmetric-db/src/main/java/org/jumpmind/db/platform/DdlBuilderFactory.java (revision 7559) +++ symmetric-db/src/main/java/org/jumpmind/db/platform/DdlBuilderFactory.java (working copy) @@ -34,6 +34,7 @@ import org.jumpmind.db.platform.mysql.MySqlDdlBuilder; import org.jumpmind.db.platform.oracle.OracleDdlBuilder; import org.jumpmind.db.platform.postgresql.PostgreSqlDdlBuilder; +import org.jumpmind.db.platform.sqlanywhere.SqlAnywhereDdlBuilder; import org.jumpmind.db.platform.sqlite.SqliteDdlBuilder; /** @@ -79,6 +80,8 @@ return new SqliteDdlBuilder(); } else if (DatabaseNamesConstants.ASE.equalsIgnoreCase(databaseName)) { return new AseDdlBuilder(); + } else if (DatabaseNamesConstants.SQLANYWHERE.equalsIgnoreCase(databaseName)) { + return new SqlAnywhereDdlBuilder(); } else { return null; } |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-22 22:39 | snpe | New Issue | |
2013-07-22 22:39 | snpe | File Added: dbexport.patch | |
2013-07-23 01:22 | chenson | Assigned To | => abrougher |
2013-07-23 01:22 | chenson | Status | new => assigned |
2013-07-23 01:22 | chenson | Target Version | => 3.5.1 |
2013-08-19 14:04 | abrougher | Status | assigned => closed |
2013-08-19 14:04 | abrougher | Resolution | open => fixed |
2013-08-19 14:04 | abrougher | Fixed in Version | => 3.5.4 |
2014-02-03 01:53 | abrougher | Changeset attached | => SymmetricDS trunk r7650 |
2015-07-31 01:49 | abrougher | Changeset attached | => SymmetricDS master 1facc1ea |