[jboss-user] [JBoss Seam] - Re: Simple application component

gavin.king@jboss.com do-not-reply at jboss.com
Fri Feb 2 04:52:07 EST 2007


anonymous wrote : Should I have the @Startup on a component like this? 

Not especially, I'm just eliminating a difference b/w the two examples.


anonymous wrote : That components.xml uses a core:hibernate-session-factory which uses a  method for creation whereas mine is just a component.

huh? the two things are equivalent. try changing it to a 

anonymous wrote : I have auto-create="true" on the referenceSessionFactory component whereas the h2 example does not. 

irrelevant


anonymous wrote : I don't have auto-create="true" on the managed-hibernate-session, I use create="true" in the @In where it is used.

also irrelevant

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

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



More information about the jboss-user mailing list