mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-09-09 21:49:08 +00:00
version for 1.6.14 : support sybase
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.gitee.dbswitch</groupId>
|
||||
<artifactId>dbswitch-parent</artifactId>
|
||||
<version>1.6.13</version>
|
||||
<version>1.6.14</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>dbswitch-dbsynch</artifactId>
|
||||
|
@@ -21,6 +21,7 @@ import com.gitee.dbswitch.dbsynch.oscar.OscarDatabaseSyncImpl;
|
||||
import com.gitee.dbswitch.dbsynch.pgsql.GreenplumDatabaseSyncImpl;
|
||||
import com.gitee.dbswitch.dbsynch.pgsql.PostgresqlDatabaseSyncImpl;
|
||||
import com.gitee.dbswitch.dbsynch.sqlite.Sqlite3DatabaseSyncImpl;
|
||||
import com.gitee.dbswitch.dbsynch.sybase.SybaseDatabaseSyncImpl;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.function.Function;
|
||||
@@ -48,6 +49,7 @@ public final class DatabaseSynchronizeFactory {
|
||||
put(DatabaseTypeEnum.GREENPLUM, GreenplumDatabaseSyncImpl::new);
|
||||
put(DatabaseTypeEnum.DB2, DB2DatabaseSyncImpl::new);
|
||||
put(DatabaseTypeEnum.DM, DmDatabaseSyncImpl::new);
|
||||
put(DatabaseTypeEnum.SYBASE, SybaseDatabaseSyncImpl::new);
|
||||
put(DatabaseTypeEnum.KINGBASE, KingbaseDatabaseSyncImpl::new);
|
||||
put(DatabaseTypeEnum.OSCAR, OscarDatabaseSyncImpl::new);
|
||||
put(DatabaseTypeEnum.GBASE8A, MySqlDatabaseSyncImpl::new);
|
||||
|
@@ -0,0 +1,26 @@
|
||||
// Copyright tang. All rights reserved.
|
||||
// https://gitee.com/inrgihc/dbswitch
|
||||
//
|
||||
// Use of this source code is governed by a BSD-style license
|
||||
//
|
||||
// Author: tang (inrgihc@126.com)
|
||||
// Date : 2020/1/2
|
||||
// Location: beijing , china
|
||||
/////////////////////////////////////////////////////////////
|
||||
package com.gitee.dbswitch.dbsynch.sybase;
|
||||
|
||||
import com.gitee.dbswitch.dbsynch.mssql.SqlServerDatabaseSyncImpl;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
/**
|
||||
* Sybase数据库DML同步实现类
|
||||
*
|
||||
* @author tang
|
||||
*/
|
||||
public class SybaseDatabaseSyncImpl extends SqlServerDatabaseSyncImpl {
|
||||
|
||||
public SybaseDatabaseSyncImpl(DataSource ds) {
|
||||
super(ds);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user