[jboss-user] [JBoss Seam] - How are @In(create = true) and @Name connected?

wise_guybg do-not-reply at jboss.com
Thu Aug 23 04:30:57 EDT 2007


Hi,
In the application I work on all entity beans had an @Name. I considered this unnecessary and removed it.

I tested the application and on one page an NPE occured. It was complaining that a field with @Out had a null value. This field is declared like this:
@In(required = false, create = true)
  | @Out
  | ExamData examData;

As it turns out, if the ExamData entity has @Name the "create" attribute of @In works and otherwise not. Can someone explain to me what is happening?

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

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



More information about the jboss-user mailing list