On 12/11/2015 3:56 AM, Anjana Prakash wrote:
Hi ,

Has anyone tried to retrieve table name based on their constraints.

Often you can do this sort of thing using JDBC's DatabaseMetaData:

http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html

Alternately, have a look at the Derby system tables, which you can
write arbitrary queries against:

http://db.apache.org/derby/docs/10.11/ref/rrefsistabs38369.html

bryan


Reply via email to