issue is solved.
my mistake. i had a typo error in the datasource name.
the dependency error is because of that.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4096741#4096741
Reply to the post :
Is persistence.xml located in the META-INF directory of the jar file?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095266#4095266
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095266
Yes, perisitence.xml is located in meta-inf dir.
i hope instead of injection, we can get the entitymanager refrence from factory
as well. i will try that
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095270#4095270
Reply to the post :
my persistence.xml has following properties in it
property name=hibernate.dialect
value=org.hibernate.dialect.OracleDialect/
property name=hibernate.hbm2ddl.auto value=validate/
property name=jboss.entity.manager.jndi.name value=java:/Manager1/
property