To get all details of oracle table use the following query.
SELECT to_char(DBMS_METADATA.GET_DDL('TABLE','tablename')) FROM dual
Java,Tomcat,Servlets,JSP,JSF and other programming stuff
SELECT to_char(DBMS_METADATA.GET_DDL('TABLE','tablename')) FROM dual