diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/jdbc')
-rwxr-xr-x[-rw-r--r--] | src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java index 7fbf3a5..c4accab 100644..100755 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java @@ -1239,6 +1239,7 @@ class JDBCStorableGenerator<S extends Storable> { yieldConAndHandleException(b, supportVar, tryBeforeCon, conVar, tryAfterCon, true);
b.loadLocal(updateCount);
+ b.convert(TypeDesc.INT, TypeDesc.BOOLEAN);
b.returnValue(TypeDesc.BOOLEAN);
}
@@ -1277,6 +1278,7 @@ class JDBCStorableGenerator<S extends Storable> { yieldConAndHandleException(b, supportVar, tryBeforeCon, conVar, tryAfterCon, true);
b.loadLocal(resultVar);
+ b.convert(TypeDesc.INT, TypeDesc.BOOLEAN);
b.returnValue(TypeDesc.BOOLEAN);
}
|