java - Unit Testing Ignore owner from H2 database -
i test multiple methods without having restrictions access database. there legacy code has query coded , wondering if h2 can ignore prefixes owner while testing.
for example: in code...
.. string q = "select user admin_dba.empolyees id < ? , id > 25"; try { con = datasourceutils.getconnection(datasource); pst = con.preparestatement(q); pst.setlong(1, id); rs = pst.executequery(); ...
as testing able ignore admin_dba in h2?
Comments
Post a Comment