[jboss-cvs] jboss-seam/examples/booking/src/org/jboss/seam/example/booking ...
Gavin King
gavin.king at jboss.com
Mon Sep 25 17:00:02 EDT 2006
User: gavin
Date: 06/09/25 17:00:02
Modified: examples/booking/src/org/jboss/seam/example/booking
User.java
Log:
user is a bad table name
Revision Changes Path
1.4 +75 -73 jboss-seam/examples/booking/src/org/jboss/seam/example/booking/User.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: User.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/booking/src/org/jboss/seam/example/booking/User.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- User.java 17 Apr 2006 18:44:27 -0000 1.3
+++ User.java 25 Sep 2006 21:00:02 -0000 1.4
@@ -1,4 +1,4 @@
-//$Id: User.java,v 1.3 2006/04/17 18:44:27 gavin Exp $
+//$Id: User.java,v 1.4 2006/09/25 21:00:02 gavin Exp $
package org.jboss.seam.example.booking;
import static org.jboss.seam.ScopeType.SESSION;
@@ -7,6 +7,7 @@
import javax.persistence.Entity;
import javax.persistence.Id;
+import javax.persistence.Table;
import org.hibernate.validator.Length;
import org.hibernate.validator.NotNull;
@@ -17,6 +18,7 @@
@Entity
@Name("user")
@Scope(SESSION)
+ at Table(name="Customer")
public class User implements Serializable
{
private String username;
More information about the jboss-cvs-commits
mailing list