0 Replies Latest reply on Jun 19, 2007 6:29 AM by topicfun

    Hibernate deploy sequence

    topicfun Newbie


      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?