Spring 常用註解(Annotation) ; @Entity. 聲明這個class為實體類,class name即為資料表表名 ; @Table. 可以為資料表、目錄、模型(schema)指定名稱 ; @Id. 宣告主鍵 ; @Basic.
確定! 回上一頁