I've just passed SCBCD5 with score 96% Thanks JavaRanch and the ranchers,especially Satya Maheshwari and Mikalai Zaikin Thanks to Oreilly's EJB3,Mikalai Zaikin's Study Guide,EJB Spec... [ December 28, 2007: Message edited by: Fofa He ]
For answer C to be correct, it was mandatory that the foreign key had a unique constraint on it.
Hi Satya, I haven't found the unique restriction stated in spec, and I haven't found it in generated sql(Container is JBoss AS 4.2.1.GA)...So I am still a little confused... But anyway,thanks for your help!It is the best answer for me now
Hi guys, could you help me with the following question? I am confused by B and C. I think there is nothing wrong with C, regarding syntax/restriction/specification. The only reason we should choose B instead of C ,is that B makes more sense in reallife ,right? Or have i mistaken ?Please correct me if i was wrong. Thanks in advance!
15). There are two tables in a database, Celery and Carrot. Celery contains a foreign key to Carrot. Each table has a primary key, and there are no other constraints on the tables. No descriptors are used, and in the following options each scenario depicts all the mapping information pertaining to the relationship. Which entities accurately model this database scenario?