This is what my person class looks like. package model; import
java.io.Serializable; import javax.persistence.*; /** * The persistent class
for the PERSON database table. * */ @Entity public class Person implements
Serializable { private static final long serialVersionUID = 1L; @Id private
String email; private int age; private String name; private String sex;
public Person() { } public String getEmail() { return this.email; } public
void setEmail(String email) { this.email = email; } public int getAge() {
return this.age; } public void setAge(int age) { this.age = age; } public
String getName() { return this.name; } public void setName(String name) {
this.name = name; } public String getSex() { return this.sex; } public void
setSex(String sex) { this.sex = sex; } }
--
[Message sent by forum member 'dodo_manni']
View Post: http://forums.java.net/node/889396