They're indeed empty. Odd. I'll check it out.
(edit). Very strange. when I execute the meta-data retrieval query:
SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE, NULLABLE, DATA_DEFAULT
FROM ALL_TAB_COLUMNS
WHERE OWNER='SCOTT'
AND DATA_DEFAULT IS NOT NULL
ORDER BY TABLE_NAME ASC, COLUMN_ID ASC
I get some results, (I have some tables in this schema with defaults), and when I execute the query on the db using the ODP.NET provider, fetching the data into a datatable, and break there, the DATA_DEFAULT columns is empty, always!
When I use the MS Oracle provider using driver, it works. Apparently Oracle's ODP.NET doesn't return this value, which is VERY strange to say the least. The column IS there when I view the datatable in the .net 2.0 debugger visualizer for datatables, it's just empty...
It's also not a rights issue, when I login with SYSTEM I can see the results in Aqua Data Studio executing the query directly on oracle, but not in the results returned from the OracleDataAdapter.Fill method in the driver.
The code and query executed using the ms provider or odp.net provider is the same....