-
1. Re: The data which save in H2 is serialized? How to see the real data.
delgo Sep 5, 2015 9:38 PM (in response to delgo) -
2. Re: The data which save in H2 is serialized? How to see the real data.
delgo Sep 5, 2015 9:38 PM (in response to delgo)The data is serialized?
-
3. Re: The data which save in H2 is serialized? How to see the real data.
delgo Sep 6, 2015 4:15 AM (in response to delgo)Maybe,it is binary
-
4. Re: The data which save in H2 is serialized? How to see the real data.
hchiorean Sep 7, 2015 3:14 AM (in response to delgo)Data is stored in databases (in general, not H2 in particular) via Infinispan's JDBC binary store. As such, data *will always be stored in serialized form*, as some sort of BLOBs.
-
5. Re: The data which save in H2 is serialized? How to see the real data.
delgo Sep 7, 2015 6:07 AM (in response to hchiorean)There is some ways to see the data clearly? I want to analysis the storage formate
-
6. Re: The data which save in H2 is serialized? How to see the real data.
hchiorean Sep 7, 2015 8:13 AM (in response to delgo)No, not by looking at the DB data. The only thing that's human-readable in the DB is the node keys, which are stored as varchars usually.
-
7. Re: The data which save in H2 is serialized? How to see the real data.
delgo Sep 7, 2015 9:11 PM (in response to hchiorean)Do you have some documents or information to analysis the storage formate? I want to study on modeshape storage formate.
Thanks Horia
-
8. Re: The data which save in H2 is serialized? How to see the real data.
hchiorean Sep 8, 2015 1:45 AM (in response to delgo)Structure-wise, ModeShape stores its node data in BSON format. You can see the source for that at modeshape/modeshape-schematic/src at master · ModeShape/modeshape · GitHub.
Also, ModeShape uses Infinispan to persist its data. So if you want to find out more about the Infinispan JDBC cache store, you should ask at: http://infinispan.org/community/
-
9. Re: The data which save in H2 is serialized? How to see the real data.
delgo Sep 9, 2015 4:00 AM (in response to hchiorean)Thanks Horia