JDBC abstracts away this kind of difference between underlying
databases. Use (Connection)con.setSchema(String schemaName) rather
than trying to work out which database engine you are using. Don't
use the "SET SCHEMA" or "USE " statements. Let the driver work out
what is the appropriate statement.
This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact