/ Published in: Java

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
package deng.myhibernatejpa; import javax.persistence.*; @Table(name="category") public class Category { @Id @GeneratedValue @Column(name="id") @Column(name="name") return id; } this.id = id; } return name; } this.name = name; } }
Comments
