Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0001606: Create dialect for DB2 z/OS
- Loading branch information
Showing
7 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
symmetric-client/src/main/java/org/jumpmind/symmetric/db/db2/Db2zOsSymmetricDialect.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.jumpmind.symmetric.db.db2; | ||
|
||
import org.jumpmind.db.platform.IDatabasePlatform; | ||
import org.jumpmind.symmetric.db.ISymmetricDialect; | ||
import org.jumpmind.symmetric.service.IParameterService; | ||
|
||
public class Db2zOsSymmetricDialect extends Db2SymmetricDialect implements ISymmetricDialect { | ||
|
||
public Db2zOsSymmetricDialect(IParameterService parameterService, IDatabasePlatform platform) { | ||
super(parameterService, platform); | ||
} | ||
|
||
// TODO: add check to trigger template if CURRENT SQLID = '${db.user}' | ||
//public String getSyncTriggersExpression() { | ||
// return "CURRENT SQLID = "; | ||
//} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
symmetric-jdbc/src/main/java/org/jumpmind/db/platform/db2/Db2zOsDatabasePlatform.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.jumpmind.db.platform.db2; | ||
|
||
import javax.sql.DataSource; | ||
|
||
import org.jumpmind.db.sql.SqlTemplateSettings; | ||
|
||
public class Db2zOsDatabasePlatform extends Db2DatabasePlatform { | ||
|
||
public Db2zOsDatabasePlatform(DataSource dataSource, SqlTemplateSettings settings) { | ||
super(dataSource, settings); | ||
} | ||
|
||
} |