java - ResultSetMetaData getting default value of column -


i using oracle database.

i want default value assign column using java jdbc.

but using resultsetmetadata not provide method default value of column.

so please tell me idea. in advance.

you can run query

select data_default user_tab_columns table_name ='mytable' , column_name = 'mycolumn' 

Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -