Exception name |
Cause |
Solution |
java.sql.SQLException |
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor |
The SID is invalid. |
Check [SID] of the global resource. |
ORA-01017: invalid username/password; logon denied |
The user name or the password is incorrect. |
Check [User name] or [Password] of the global resource. |
java.sql.SQLRecoverableException |
The Network Adapter could not establish the connection |
Unable to connect to the database. |
Check [Host name] or [Port number] of the global resource. |
java.sql.SQLSyntaxErrorException |
ORA-00942: The table or the view does not exist. |
The table or the view does not exist. |
Specify the table or the view that exists in [Table name]. |
ORA-00933: The SQL command is not terminated properly. |
The table or view name might not be enclosed with quotation marks. |
Check whether the table or view name specified in [Table name] is enclosed with quotation marks. |