"phejl" wrote : I some did more investigation with jboss 4.2.2 and jboss 5
beta2, here is what I observed (don't take it as an unchangeable fact).
| With jboss 4 it seems to me that PersistentContext in servlet or webservice is ignored
completely (jboss 4 is not ee 5 certified - provides ejb3 and ee5 web apps, however not
sure if wired properly).
| When using jboss 5 server noticed the annotation however wasn't able to load the
proper context (maybe really problem with wiring jpa and web, since it is still beta).
| Maybe somebody from jboss could tell you more...
Thanks for doing some checking.
I have been trying some of the Seam 2.0.0 demos (deploying to my 4.2.2 JBoss) and
tutorials and ran seam-gen using my database.
I got this to work. And in the set of generated files I see a persistence.xml and a
I think I see some interesting bits:
In the generated persistence.xml I see:
| <property name="hibernate.dialect"
| <property name="hibernate.hbm2ddl.auto"
| <property name="hibernate.show_sql" value="true"/>
| <property name="hibernate.format_sql"
| <property name="jboss.entity.manager.factory.jndi.name"
and in components.xml I see:
These seem like config options that may help the wiring to complete the circuit if I add
them in the right place in my war file.
View the original post :
Reply to the post :