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

Reply via email to