Is it possible to view/edit MVStore-entries in H2 console?

37 views
Skip to first unread message

KaiL

unread,
Mar 11, 2020, 8:31:10 PM3/11/20
to H2 Database
Hi, 

is it possible to view/edit data in the h2 console which were inserted by:

import org.h2.mvstore.*;

// open the store (in-memory if fileName is null)
MVStore s = MVStore.open(fileName);

// create/get the map named "data"
MVMap<Integer, String> map = s.openMap("data");

// add and read some data
map.put(1, "Hello World");
System.out.println(map.get(1));

// close the store (this will persist changes)
s.close();
???

Evgenij Ryazanov

unread,
Mar 11, 2020, 8:56:38 PM3/11/20
to H2 Database
Hello.

No, it isn't possible. H2 Console is a tool that works only with databases.
Reply all
Reply to author
Forward
0 new messages