瀏覽代碼

Update README.md

Git-Leon 7 年之前
父節點
當前提交
88c2afebe6
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      README.md

+ 2
- 1
README.md 查看文件

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