refactor to be explicitly oci8

This commit is contained in:
Jim Lambert 2020-02-15 11:32:40 -05:00
parent 73d9a67b12
commit 5c187bc757

View File

@ -146,7 +146,8 @@ func createCallback(scope *Scope) {
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 intId uint32
primaryIsString := false