hi
i am trying to test my application through H2 db which actually runs on 
Oracle db.

In my application we are using  below query which runs fine on oracle

LOCK TABLE <my_table_name> IN EXCLUSIVE MODE;


However , when i run this through H2 db , i get below error saying its 
syntax error , can you pls suggest how can i resolve this.


Caused by: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement 
"LOCK[*] TABLE <my_table_name> IN EXCLUSIVE MODE ";

Currently using : h2-1.3.160.

-- 
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/d/optout.

Reply via email to