cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savva Kolbachev (JIRA)" <>
Subject [jira] [Created] (CAY-2059) Detecting 'IS_AUTOINCREMENT' for columns in MS SQL Server
Date Wed, 10 Feb 2016 10:23:18 GMT
Savva Kolbachev created CAY-2059:

             Summary: Detecting 'IS_AUTOINCREMENT' for columns in MS SQL Server
                 Key: CAY-2059
             Project: Cayenne
          Issue Type: Bug
    Affects Versions: 4.0.M2, 4.0.M3
            Reporter: Savva Kolbachev
            Assignee: Savva Kolbachev

Relates to the failed test DbLoaderIT.testLoad:187

SQLServerResultSetMetaData doesn't return 'IS_AUTOINCREMENT' column. Furthermore, INFORMATION_SCHEMA.COLUMNS
doesn't include 'IS_AUTOINCREMENT' column in MS SQL Server.

Detecting 'IS_AUTOINCREMENT' could be done by selecting 'is_identity' column from sys.columns.
For example,

This message was sent by Atlassian JIRA

View raw message