Craig,
Excuse me, but I am confused. Please clarify your answer for me.
The "getMetaData()" method (of interface
java.sql.ResultSet) returns an instance of
java.sql.ResultSetMetaData -- and not an instance of
java.sql.DatabaseMetaData. It seems to me like you are saying that you use the "getMetaData()" method to obtain an instance of "DatabaseMetaData", but this is not correct, so please clarify.
In any case, as Sripathi mentioned, there is nothing in the
javadocs (that I could find) that returns the check constraints for database table columns. Perhaps you could provide some code that demonstrates how to do this?
Good Luck,
Avi.