cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikita Timofeev <ntimof...@objectstyle.com>
Subject Re: Identity column
Date Tue, 01 Aug 2017 08:06:12 GMT
Hi Lon,

Here is support for identity columns in SQLServerAdapter: [1] and [2].
And yes SybaseAdapter doesn't support this.

[1] https://github.com/apache/cayenne/blob/master/cayenne-server/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java#L93
[2] https://github.com/apache/cayenne/blob/master/cayenne-server/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java#L138

On Tue, Aug 1, 2017 at 3:47 AM, Lon Varscsak <lon.varscsak@gmail.com> wrote:
> Hey guys, I have a table (or three) that uses identity columns (Sybase
> generated values…not like a sequence).  Looking at the 3.0 docs it suggests
> that it supports this for SQLServer (which was originally based on
> Sybase)…but I can’t seem to find it in the code.  Any idea where this is?
> Does it still exist?
>
> Thanks,
>
> Lon



-- 
Best regards,
Nikita Timofeev

Mime
View raw message