[jboss-user] [JBoss Seam] - Re: question about the seam Booking Example:
petemuir
do-not-reply at jboss.com
Wed Jul 26 09:07:54 EDT 2006
anonymous wrote : 1 how does the entity beans map the DB table?
By default the unqualified classname is the table name unless overriden with @Table(name="") annotation.
anonymous wrote : aslo, I found the name of entity property is the same with the column name in the DB, is this necessary?
By default the column name is the field/property name unless overridden with the @Column(name="") annotation.
This is all in the EJB3 peristence spec and the Hibernate Annotations manual.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960974#3960974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960974
More information about the jboss-user
mailing list