There is qustion in head first EJB p362, No.1
When implementing a one-tomany relationship, the java/util.List interface not be used.
the answer: "Only Collection or Set can be used".
My question, the List IS a collection.
Set and List both implement or extends Conllection interface.
When implementing a one-tomany relationship, the java/util.List interface not be used.
the answer: "Only Collection or Set can be used".
My question, the List IS a collection.
Set and List both implement or extends Conllection interface.