users@glassfish.java.net

Re: Probelm deploying Servlet with PersistenceUnit

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 23 Aug 2012 14:43:04 -0700

Try asking these questions on the EclipseLink forum/email:

Mailing list: eclipselink-users_at_eclipse.org

Forum: http://www.eclipse.org/forums/index.php/f/111/

-marina

forums_at_java.net wrote:
> 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
>
>