On Aug 29, 2009, at 4:38 AM, <[email protected]> <[email protected] > wrote:

Hello,
      I am integrating open-ejb with our testing framework. I am able
to do some basic tests by putting some mock stuff for my service
locators and it's working perfectly fine. But I am facing problems in
hibernate configuraion, I googled a lot about hibernate configuration
for open ejb but did not get sucess. I have some questions if u can help
me out...

1) How can I configure Open Ejb to deploy  *.hbm.xml files at booting
time.
2) Does it provides support to deploy .har file.

If u can send me any link or article or any information, It will be
really helpfull for me and my team. Thanks in advance.

OpenEJB doesn't have any hibernate specific support. OpenEJB does support the standard JPA persistence.xml files which Hibernate also supports. This is how most people use them together. There is an example that here which may be useful:

  
http://svn.apache.org/repos/asf/openejb/tags/openejb-3.1.1/examples/jpa-hibernate/

Hope that helps!


-David

Reply via email to