|
|
|
@ -29,6 +29,7 @@ type DB = dtmimp.DB |
|
|
|
// TransOptions transaction option
|
|
|
|
type TransOptions = dtmimp.TransOptions |
|
|
|
|
|
|
|
// DBConf declares db configuration
|
|
|
|
type DBConf = dtmimp.DBConf |
|
|
|
|
|
|
|
// SetCurrentDBType set currentDBType
|
|
|
|
@ -41,16 +42,17 @@ func GetCurrentDBType() string { |
|
|
|
return dtmimp.GetCurrentDBType() |
|
|
|
} |
|
|
|
|
|
|
|
// SetXaSqlTimeoutMs set XaSqlTimeoutMs
|
|
|
|
func SetXaSqlTimeoutMs(ms int) { |
|
|
|
dtmimp.XaSqlTimeoutMs = ms |
|
|
|
// SetXaSQLTimeoutMs set XaSQLTimeoutMs
|
|
|
|
func SetXaSQLTimeoutMs(ms int) { |
|
|
|
dtmimp.XaSQLTimeoutMs = ms |
|
|
|
} |
|
|
|
|
|
|
|
// GetXaSqlTimeoutMs get XaSqlTimeoutMs
|
|
|
|
func GetXaSqlTimeoutMs() int { |
|
|
|
return dtmimp.XaSqlTimeoutMs |
|
|
|
// GetXaSQLTimeoutMs get XaSQLTimeoutMs
|
|
|
|
func GetXaSQLTimeoutMs() int { |
|
|
|
return dtmimp.XaSQLTimeoutMs |
|
|
|
} |
|
|
|
|
|
|
|
// SetBarrierTableName sets barrier table name
|
|
|
|
func SetBarrierTableName(tablename string) { |
|
|
|
dtmimp.BarrierTableName = tablename |
|
|
|
} |
|
|
|
|