[ http://issues.apache.org/jira/browse/DERBY-1389?page=all ]

V.Narayanan updated DERBY-1389:
-------------------------------

    Attachment: IS_AUTOINCREMENT_v1.diff
                IS_AUTOINCREMENT_v1.stat

Please find the patch attached for this issue. The patch required me to modify 
the getColumns query in  metadata.properties to return the autoincremented info 
and modify related tests that were failing as a result of this change.

I have changed all the tests that fail as a result of this change.

The change will result in this additional column being produced irrespective of 
the jdk being run with. 

This will probably need a release note informing of this additional column to 
applications that use DatabaseMetaData.getColumns with a lower jdk verion other 
than mustang.

thanx
Narayanan

> IS_AUTOINCREMENT column should be returned as part of the Database 
> description returned by DatabaseMetaData.getColumns
> ----------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1389
>          URL: http://issues.apache.org/jira/browse/DERBY-1389
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>     Reporter: V.Narayanan
>     Assignee: V.Narayanan
>  Attachments: IS_AUTOINCREMENT_v1.diff, IS_AUTOINCREMENT_v1.stat
>
>    Copied from the Javadoc for DatabaseMetaData from this location
>    http://download.java.net/jdk6/docs/api/java/sql/DatabaseMetaData.html
>    IS_AUTOINCREMENT String => Indicates whether this column is auto 
> incremented
>     * YES --- if the column is auto incremented
>     * NO --- if the column is not auto incremented
>     * empty string --- if it cannot be determined whether the column is auto 
> incremented parameter is unknown 
>     

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to