java.sql.SQLWarning class can generate
a warning in certain circumstances. A warning is generated if, for example, you
try to connect to a database with the create attribute set to true
if the database already exists.java.sql.SQLWarning class
Aggregates like SUM also raise a warning if NULL values are
encountered during the evaluation.
All other informational messages are written to the
system's
derby.log file.