[jboss-user] [JBoss Seam] - Re: Hibernate : insertion in DataBase with java code.

dustismo do-not-reply at jboss.com
Wed Aug 29 13:00:13 EDT 2007


Yes, ChargeCollaborateuraffecteHome is a Component and needs to be initialized by Seam (i.e. you can't just do 'new ChargeCollaborateuraffecteHome()' and expect it to work).  So you either inject the Component using @In or use org.jboss.seam.Component.getInstance



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

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



More information about the jboss-user mailing list