JTDSJDBCDriverを使用しています。バージョンは1.2.4です。特定のテーブルの列メタデータを取得しているとします。
ResultSet columnsRs = meta.getColumns(null, [pattern], [table name], null);
while(columnRs.next()){
// I would like to know here if the current column is marked computed
}
ID計算フィールドのテーブル定義は次のとおりです
CREATE TABLE [dbo].[C_Currencies](
[CurrencyID] [int] IDENTITY(1,1) NOT NULL,
[Name] [varchar](150) NOT NULL,
[ID] AS ([CurrencyID]),
CONSTRAINT [pk_currency] PRIMARY KEY CLUSTERED
(
[CurrencyID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]