I know that is option with :
| // AssembledDirectory jar =
AssembledContextFactory.getInstance().create("ejbTestCase.jar");
| // jar.addClass(Customer.class);
| // jar.addClass(CustomerDAOBean.class);
| // jar.addClass(CustomerDAOLocal.class);
| // jar.addClass(CustomerDAORemote.class);
| //
jar.mkdir("META-INF").addResource("tutorial-persistence.xml",
"persistence.xml");
|
In this persistence.xml is alias for additional file but unfortunately jboss embedded with
hibernate doesn't work with vfs ;/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166433#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...