DB2: Find generated column from Java
===

I am working with DB2 table using Java code and using ResultSetMetaData for getting meta data for table. Is there anyway to know if the table has generated column and if yes is there a way i can find out the formula used for it. 

   Either using ResultSetMetaData or using any other approach is fine as long as it's possible through Java code.

Mehul