[jboss-user] [JBoss Seam] - Re: Further extending an EntityHome

matt.drees do-not-reply at jboss.com
Tue Sep 25 12:06:16 EDT 2007


"damianharvey" wrote : I don't think it's an issue. The NPE was only caused by the fact that I had overriden getEntityClass() but hadn't set the value of the entityClass field.

Actually, I agree with Pete.  If the contract of EntityHome requires getEntityClass() to be overridable (and it is, from what I gather), then it should always reference the getter, not the field.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088501#4088501

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088501



More information about the jboss-user mailing list