This content has been marked as final.
Show 3 replies
-
1. Re: @Scope(SESSION) SESSION cannot be resolved
pmuir Apr 14, 2007 10:33 AM (in response to ejbengine)import static org.jboss.seam.ScopeType.SESSION;
-
2. Re: @Scope(SESSION) SESSION cannot be resolved
ejbengine Apr 14, 2007 3:40 PM (in response to ejbengine)"petemuir" wrote:
import static org.jboss.seam.ScopeType.SESSION;
Why then does the registration example work with just :import org.jboss.seam.annotations.Scope; @Entity @Name("user") @Scope(SESSION) @Table(name="users") public class User implements Serializable { ..... .... }
Jeff Mutonho -
3. Re: @Scope(SESSION) SESSION cannot be resolved
pmuir Apr 14, 2007 6:45 PM (in response to ejbengine)User.java wrote:
import static org.jboss.seam.ScopeType.SESSION; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.validator.Length; import org.hibernate.validator.NotNull; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope;