Greetings,
I was able to reproduce this..
stat.execute("create table test(id int primary key, name
varchar(255))");
stat.execute("insert into test values(1, 'Hello')");
stat.execute("insert into test values(2, 'World')");
stat.execute("CREATE VIEW hello_view AS SELECT name FROM test
");
stat.execute("INSERT INTO hello_view VALUES ('Test');");
.
.
Exception in thread "main" org.h2.jdbc.JdbcSQLException: Feature not
supported: "VIEW"; SQL statement:
INSERT INTO hello_view VALUES ('Test'); [50100-153]
Michael