Re: [Hibernate] generated field as part of composite key

2002-09-28 Thread Chris Winters
On Sat, 2002-09-28 at 00:17, Gavin King wrote: > Yes, well you see that was my understanding also. My reading of that > statement is that the identity column *on its own* is a unique key of the > table (whether theres a UNIQUE constraint or not). > > So a primary key constraint that includes an id

Re: [Hibernate] generated field as part of composite key

2002-09-28 Thread Gavin King
> IDENTITY fields in MS SQL (and Sybase, for that matter) are very simple: > there can be only one IDENTITY field per table, and every INSERT is > guaranteed to generate a unique value for that field. Yes, well you see that was my understanding also. My reading of that statement is that the ident

Re: [Hibernate] generated field as part of composite key

2002-09-28 Thread Chris Winters
On Fri, 2002-09-27 at 19:15, Gavin King wrote: > Thats what happens when you write emails at 3 am. I meant to express my > interest in the fact that MS SQL can generate values that are unique, not > for the whole table, but only for other rows with the same values in the > other primary key fields.

Re: [Hibernate] Network Demo

2002-09-28 Thread Gavin King
Heh, I'm a mathematician by training :) Edge / vertex are used in the sense of graph theory. So its a network where each edge has a certain capacity and a certain length. Like, for example, a network of water pipes. Of course, it doesn't do any useful computations its meant to be merely illustrati