MC_OPR is a view as "select * from MC_OPR_M",

Connection conn = datasource.getConnection();
conn.createStatement().executeQuery("select * from MC_OPR");  // then 
return from MC_OPR_M, it's ok, but

conn.createStatement().execute("create or replace view MC_OPR as select * 
from MC_OPR_S");
conn.createStatement().executeQuery("select * from MC_OPR");  // also 
return from MC_OPR_M

h2 version is 1.3.173.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to