Hi,
I think the problem is due to the db primary keys that are identity
(autoincremental int field) actually not supported,
in facts without this type of PK there were no problems.
Do you think to implement this support in the cayenne next release?
thanks
> Hi Michele,
>
> SQLServer reverse engineering never caused problems for me in the past. Do
> you see this problem consistently for any of your tables or is it specific
> to a particular db/schema?
>
> Andrus
>
>
> > Hi everybody,
> >
> > reenginering a database (MsSqlServer) I've obtained a correct list of
> > dbentity but none of this has attributes. In the modeler log file I saw
> > a message for each dbentity like the following:
> >
> > CayenneModeler WARN [Thread-32 11-10 14:37:03]
> > org.objectstyle.cayenne.access.DbLoader: Can't locate attribute for
> > primary key: idFile
> >
> > What's the matter?
> >
> > thanks
> >
> > Michele Cuozzo
> > Advanced Computer Systems S.p.A.
> > Multimedia Division
> > Via della Bufalotta, 378
> > 00139 Rome (Italy)
> >
> > Tel. +39 06 87090517
> > Cell. +39 339 8456314
> > e-mail m.cuozz..csys.it
> > web http://www.acsmultimedia.com
>
>
This archive was generated by hypermail 2.0.0 : Thu Nov 11 2004 - 09:52:25 EST