Øyvind Harboe commented on CAY-977:
-----------------------------------
ah. If the auto_pk_support table is missing an entry, then this is the resulting Exception.
Hmmm... some alterantives
- could the missing entry in auto_pk_support be created automatically at this point?
- improve exception text?
- do nothing close as "not a bug".
> SybasePkGenerator.longPkFromDatabase() throws exception
> -------------------------------------------------------
>
> Key: CAY-977
> URL: https://issues.apache.org/cayenne/browse/CAY-977
> Project: Cayenne
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Øyvind Harboe
> Assignee: Andrus Adamchik
>
> It throws this exception when I try to use "Default" PK Generation Strategy. The PK is not database generated(identity) when I check MS SQL manager.
> throw new CayenneRuntimeException(
> "Error generating pk for DbEntity "
> + entity.getName());
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
This archive was generated by hypermail 2.0.0 : Wed Jan 23 2008 - 06:52:55 EST