You will not able to get Informix RSAM / ISAM error with normal SQLException. ISAM error is important to find the real database problem. For example, if an SQLCODE message says that a table cannot be created, the RSAM message states the reason, which might be insufficient disk space. You need to get the nested/chained exception via SQLException.getNextException(). Code example is at Java Developers Almanac.

0 comments:
Post a Comment