diff --git a/component/src/main/java/org/ballerinalang/cassandra/CassandraDataIterator.java b/component/src/main/java/org/ballerinalang/cassandra/CassandraDataIterator.java index 087d2f2..ee6747d 100644 --- a/component/src/main/java/org/ballerinalang/cassandra/CassandraDataIterator.java +++ b/component/src/main/java/org/ballerinalang/cassandra/CassandraDataIterator.java @@ -87,19 +87,19 @@ public String getString(int columnIndex) { } @Override - public long getInt(int columnIndex) { + public Long getInt(int columnIndex) { this.checkCurrentRow(); - return this.current.getInt(columnIndex - 1); + return (long) this.current.getInt(columnIndex - 1); } @Override - public double getFloat(int columnIndex) { + public Double getFloat(int columnIndex) { this.checkCurrentRow(); - return this.current.getFloat(columnIndex - 1); + return (double) this.current.getFloat(columnIndex - 1); } @Override - public boolean getBoolean(int columnIndex) { + public Boolean getBoolean(int columnIndex) { this.checkCurrentRow(); return this.current.getBool(columnIndex - 1); } diff --git a/pom.xml b/pom.xml index 0b55448..0daaaaa 100644 --- a/pom.xml +++ b/pom.xml @@ -329,7 +329,7 @@ my-scm-server - 0.990.0 + 0.990.1-SNAPSHOT 3.6.0 19.0 3.1.2