[jboss-user] [JBoss Seam] - Re: Generating EJB3 entities using seam-gen tables/views

robdev do-not-reply at jboss.com
Thu Oct 11 04:54:27 EDT 2007


I am also getting this issue on jboss 4.0.5

This is my enitiy bean

  | 
  | import java.io.Serializable;
  | 
  | import javax.persistence.Column;
  | import javax.persistence.Entity;
  | import javax.persistence.Id;
  | import javax.persistence.NamedQuery;
  | import javax.persistence.Table;
  | 
  | @Entity
  | @NamedQuery(name = "SelectNodeView.findAll",
  | 			query = "select o from SelectNodeView o")
  | 			
  | @Table(name = "SELECT_NODE_VIEW")
  | public class SelectNodeView implements Serializable {
  | 	
  |     @Id
  |     @Column(nullable = false)
  |     private Long id;
  |     
  |     @Column(name="URL_PATTERN", nullable = false)
  |     private String urlPattern;
  | 
  |     public SelectNodeView() {
  |     }
  | 
  |     public Long getId() {
  |         return id;
  |     }
  | 
  |     public void setId(Long id) {
  |         this.id = id;
  |     }
  | 
  |     public String getUrlPattern() {
  |         return urlPattern;
  |     }
  | 
  |     public void setUrlPattern(String urlPattern) {
  |         this.urlPattern = urlPattern;
  |     }
  | }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093923#4093923

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093923



More information about the jboss-user mailing list