|
Hibernate example source code file (Employee.java)
The Hibernate Employee.java source codepackage org.hibernate.test.annotations.derivedidentities.e1.a; import javax.persistence.Entity; import javax.persistence.Id; /** * @author Emmanuel Bernard */ @Entity public class Employee { long empId; String empName; String nickname; public Employee() { } public Employee(long empId, String empName, String nickname) { this.empId = empId; this.empName = empName; this.nickname = nickname; } @Id public long getEmpId() { return empId; } public void setEmpId(long empId) { this.empId = empId; } public String getEmpName() { return empName; } public void setEmpName(String empName) { this.empName = empName; } public String getNickname() { return nickname; } public void setNickname(String nickname) { this.nickname = nickname; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Employee.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.