I have to agree, I don't understand how these can be mapped to the same table this way. Looking at them, it is not evident what the intent here was.
Ultimately, when reading a given row from the db we have no clue which entity to use. On 07/16/2013 10:50 AM, Strong Liu wrote: > talking about > org.hibernate.test.annotations.manytoonewithformula.ManyToOneWithFormulaTest > > org.hibernate.test.annotations.manytoonewithformula.ProductSqlServer AND > org.hibernate.test.annotations.manytoonewithformula.Product > > these two are exactly same ( has same @Table(name="product") and others ) > except the class name different > > is it valid? > ------------------------- > Best Regards, > > Strong Liu <stliu at hibernate.org> > http://about.me/stliu/bio > > > > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev