[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate deploy sequence

topicfun do-not-reply at jboss.com
Tue Jun 19 06:29:45 EDT 2007


Hi!

How could I change the deploy sequence of the *.hbm.xml files on Jboss?
I am using hibernate-service.xml and as far as I know in this case the hibernate.cgf.xml doesn't play...

I have an usertype.hbm.xml (define type mapping between enum classes) that should be first at the deploy but the jboss deploys the xmls in alphabetical order so it is processed only at the and of the sequence => deploy is unsuccessful.
If I rename this to aausertype.hbm.xml everything is OK the deploy is successful...
I don't like this solution there is any other way to do?

Thanks,
Topicfun

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

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



More information about the jboss-user mailing list