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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user