[jboss-user] [JBoss Seam] - Re: question about the seam Booking Example:
bfo81
do-not-reply at jboss.com
Wed Jul 26 09:07:57 EDT 2006
There are several annotations with which you can give tables or table columns custom names.
@Entity
@Table(name="yourTableName")
public class TheEntity {
@Column(name="yourColumnName")
...property...
}
If @Column or @Table are left out, the EntityManager creates Colums and Tables with the same names the properties and classes have.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960975#3960975
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960975
More information about the jboss-user
mailing list