-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null Pointer Exception if there is null in hstore #13
Comments
Thank you for finding this bug! Do you think you can write a unit test to reproduce this? You can probably just add a new method to https://github.com/The-Alchemist/hibernate-postgresql/blob/master/src/test/java/com/github/thealchemist/pg_hibernate/HstoreTypeTest.java |
Sure , I will write a unit test to reproduce the issue |
CREATE TABLE HstoreTypeEntity ( INSERT INTO datafeeds.test(test) VALUES(null); => To put further details , when you try to get the values of the insertion made using the above statement , gets NullPointerException. |
@The-Alchemist Can you please take a look at the travis run for the pull request , looks like something is rong with the Travis pipeline ?
|
#15 , please review and merge |
If the 'hstore' column has null value (having a null is different then having no value) throws NullPointerException.
Stack trace :
Entity class :
On getting hstore where there is no value using Repository gives NullPointerException.
The text was updated successfully, but these errors were encountered: