refactor to be explicitly oci8
This commit is contained in:
parent
73d9a67b12
commit
5c187bc757
@ -146,7 +146,8 @@ func createCallback(scope *Scope) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if scope.isOracle() {
|
// this is very specific to how the oci8 driver handles the last insert id via a sql.Out parameter
|
||||||
|
if scope.Dialect().GetName() == "oci8" {
|
||||||
var stringId string
|
var stringId string
|
||||||
var intId uint32
|
var intId uint32
|
||||||
primaryIsString := false
|
primaryIsString := false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user