Andrey11 (2) [Avatar] Offline
#1
I think I found error in the first edition:

page 333, Composite keys with annotations:


However, if you declare the refer-
encedColumnName for each column, order isn’t important, and both the source
and target tables of the foreign key constraint can have different column names.


Instead names should be order, right? Please add it to the errata for the first edition book.
Christian Bauer (56) [Avatar] Offline
#2
Re: Found error in the first edition
No, this is a conjunction: order isn't important AND you can have different column names.
Andrey11 (2) [Avatar] Offline
#3
Re: Found error in the first edition
Both order and name isn't important.
Ok, I understand, thanks.

Message was edited by:
Andrey11