Abdulkadir Selçukoğlu (JAVA Notlarım)
Friday, April 6, 2012
EJB Automatic Id Example
@Entity
public class Employee {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private int id;
// ...
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment