On 07.04.2011 15:19, Alexandre Bergel 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?
Cheers,
Alexandre
IANAE, but my definitive answer would be... Maybe. :)
Depends on what other tables are in the database, their relationship
with the ComicBook table,which you intend to query often, what you
intend to query them for, etc.
Cheers,
Henry