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

parcelable - Unmarshalling unknown type code exception while reading parcel values in Android 4.4+ -

git - Initial Commit: "fatal: could not create leading directories of ..." -