Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

CassandraResultSet getObject method did not handle null value for Timestamp type. #23

Open
shadowsgh opened this issue Apr 16, 2018 · 0 comments

Comments

@shadowsgh
Copy link

Hi Alexander,

I am using your JDBC wrapper for Cassandra JDBC data Operator and I receive following NPE while trying to get ResultSet from a table where contain a TimeStamp column.

Seems you do not handle the null value exception if the type is Timestamp:

else if (typeName.equals("timestamp")){
return (Object) new Timestamp((currentRow.getTimestamp(index-1)).getTime());

Thanks in advance for your answer.

Michael

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant