[jboss-user] [JBoss jBPM] - Custom HBM files.

Toriton do-not-reply at jboss.com
Mon Mar 9 06:03:18 EDT 2009


Hi all,
i'm looking for an help ,about  configuring new mapping resources for Hibernate in JBPM.

I'm using Jboss 4.2.2 GA and JBPM 3.3.1 GA with Oracle 10g.

There is any example on how configure a new hbm.xml to use for my persistance?.

I have some problems to create the PAR archive from eclipse because Eclipse seem have some problem to create output folders.
It ignore all xml files copying in the bin folder only the image process ,and the class files.
Ignoring gpd.xml -processdefinition.xml- all Hibernate configuration files.

I'm looking for some example to understand where my custom hbm.xml files need to be mapped and where they have to stay to be loaded correctly.

I tried adding them in the Hibernate.extra.cfg.xml, or directly in hibernate.cfg.xml, but the problem is that jbpm can't find the entity class mapped in the hbm.xml, in classpath. This is correct, the class is in the par archive, and is not deployed still.
Have to deploy par file  and entity classes apart?

Any useful link will be appreciated :).

Thanks in advance.
T.



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

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



More information about the jboss-user mailing list