April 7, 2011
12:39 p.m.
On Thu, Apr 7, 2011 at 3:19 PM, Alexandre Bergel <alexandre.bergel@me.com>wrote:
Hi!
Since there are some experts in databases here, I ask a general question about it. Assume that I have to use a relational database to store, let's stay instances of Stef's ComicBook class. Should the class ComicBook have a field id to uniquely identify a book?
I always put an id field. All cases without id I've encountered were always a pain. I don't have any argument against unique id. Laurent.
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.