Timeline for Serializing stored json object gives null pointer hibernate vladmihalcea / hibernate-types
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 20, 2022 at 12:31 | answer | added | huan | timeline score: 2 | |
Sep 23, 2022 at 13:00 | answer | added | Loukas Andreadelis | timeline score: 8 | |
Aug 29, 2022 at 16:14 | comment | added | Olivier Croisier | Same problem here, with a simple List : @Column(columnDefinition = "json") @Type(type = "json") private List<String> resultItems = new ArrayList<>(); I can insert the data and I see it in the database, but I get the same NullPointerException when I try to query the containing entity. | |
Aug 12, 2022 at 9:33 | review | Close votes | |||
Aug 16, 2022 at 0:05 | |||||
Aug 12, 2022 at 9:31 | comment | added | Jens | Which dbms do you use? is the column declared as json in the database? | |
Aug 12, 2022 at 9:27 | comment | added | César Castro Aroche | here is the object in db that fails to serialize: 109,a11004d9-bf9d-4c44-8b82-dee551774daa, CREATE,{"id":200,"name":"xxxx","type":"xxxx"},false,2022-08-12 10:44:36.867000,2022-08-12 10:44:36.867000 | |
Aug 12, 2022 at 9:26 | comment | added | César Castro Aroche | full stack trace : textdoc.co/kuysVq3tBTdX48GJ | |
Aug 12, 2022 at 9:19 | comment | added | Jens | Are there more informations in the stacktrace? | |
Aug 12, 2022 at 9:18 | comment | added | Jens | Does this answer your question? What is a NullPointerException, and how do I fix it? | |
Aug 12, 2022 at 9:16 | history | asked | César Castro Aroche | CC BY-SA 4.0 |