summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Morgan <morganjm@amazon.com>2016-04-29 13:08:02 -0700
committerJesse Morgan <morganjm@amazon.com>2016-04-29 13:08:02 -0700
commit5852af9d5bdff97e2941e00e7ae06a016b05ee2c (patch)
tree34f573d2cc2c2da58cc7b5bcb4644e4735dfc9bd
parentf793f4e762ebed02d74938402d704a4fa845cac3 (diff)
parent6ea9896550f4c7718ec5ccc1f092a7059956b6ea (diff)
Merge branch 'master' into v1.3v1.3
-rw-r--r--pom.xml2
-rwxr-xr-x[-rw-r--r--]src/main/java/com/amazon/carbonado/gen/StorableGenerator.java2
-rwxr-xr-x[-rw-r--r--]src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java2
3 files changed, 5 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 8c2dca1..cbfd101 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
<artifactId>carbonado</artifactId>
<packaging>jar</packaging>
<name>Carbonado</name>
- <version>1.3.1</version>
+ <version>1.3.2</version>
<description>
Extensible, high performance persistence abstraction layer for Java applications with a relational view to the underlying persistence technology.
</description>
diff --git a/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java b/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java
index 59312c8..b1d529c 100644..100755
--- a/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java
+++ b/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java
@@ -1818,6 +1818,7 @@ public final class StorableGenerator<S extends Storable> {
b.loadConstant(PROPERTY_STATE_MASK << ((versionOrdinal & 0xf) * 2));
b.math(Opcode.IAND);
// zero == false, not zero == true
+ b.convert(TypeDesc.INT, TypeDesc.BOOLEAN);
b.returnValue(TypeDesc.BOOLEAN);
}
}
@@ -2481,6 +2482,7 @@ public final class StorableGenerator<S extends Storable> {
b.loadConstant(PROPERTY_STATE_MASK << ((ordinal & 0xf) * 2));
b.math(Opcode.IAND);
// zero == false, not zero == true
+ b.convert(TypeDesc.INT, TypeDesc.BOOLEAN);
b.returnValue(TypeDesc.BOOLEAN);
return;
}
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);
}