Git-Leon пре 9 година
родитељ
комит
88c2afebe6
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      README.md

+ 2
- 1
README.md Прегледај датотеку

61
 
61
 
62
 * `Vote` has a `option` instance variable of type `Option`
62
 * `Vote` has a `option` instance variable of type `Option`
63
 	* `option` should be `annotated` with
63
 	* `option` should be `annotated` with
64
-		* `@Column(name = "OPTION_ID")`
64
+		* `@ManyToOne`
65
+		* `@JoinColumn(name = "OPTION_ID")`
65
 
66
 
66
 * Create a `getter` and `setter` for each of the respective instance variables.
67
 * Create a `getter` and `setter` for each of the respective instance variables.
67
 
68