下面是各种类型的数据库在表不存在时抛出的错误信息(仅供参考).
1.
MySQL
类型
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Table 'xxx.xxx' doesn't exist
2. Oracle 类型
java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist.
3. SQLServer 类型
com.microsoft.sqlserver.jdbc.SQLServerException:Invalid object name 'xxx.xxx.xxx'.
4. PostgreSQL 类型
org.postgresql.util.PSQLException: ERROR: relation "xxx.xxx" does not exist .