Bug #12141 | JDBC and Default-Values | ||
---|---|---|---|
Submitted: | 24 Jul 2005 18:16 | Modified: | 24 Jul 2005 20:12 |
Reporter: | Tom Schindl | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S4 (Feature request) |
Version: | 3.1.10 | OS: | |
Assigned to: | CPU Architecture: | Any |
[24 Jul 2005 18:16]
Tom Schindl
[24 Jul 2005 20:12]
Mark Matthews
What you ask for is _not_ JDBC-compliant, see http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getColumns(java.lan...) Quoting... " COLUMN_DEF String => default value (may be null) " If the JDBC specification itself says that a column is of type "String", a driver can only return java.lang.String for ResultSet.getObject().
[24 Jul 2005 20:17]
Tom Schindl
What can one then do to get the "real" default-value like when calling moveToInsertRow()?