2 Replies Latest reply on Dec 4, 2006 2:19 AM by thejavafreak

    Hibernate as Messaging persistence layer

    thejavafreak

      Dear all,

      Is it true that in the future JBoss messaging will use hibernate for the persistency? If it is, I think it will be a great idea. Because when I had a hard time when migrating the datasource from hsqldb to postgres in JBoss5.

      I have to remark the 'create table on startup' back and forth to true and false parameter each time I install the Appserver. Hibernate got this feature update value in 'create table on startup'.

      So, can we know in what release this feature will be available?

      Cheers,
      Joshua

        • 1. Re: Hibernate as Messaging persistence layer
          timfox

          Messaging's sql needs are very basic and "straight to the bone" so it's unlikely we would use Hibernate as an O/R mapper - it's not really needed for us.

          However, it is likely we could use Hibernate's dialects to avoid having to maintain different persistence configs for different databases - this would definitely have value.

          • 2. Re: Hibernate as Messaging persistence layer
            thejavafreak

             

            "timfox" wrote:
            However, it is likely we could use Hibernate's dialects to avoid having to maintain different persistence configs for different databases - this would definitely have value.


            Hi Tim,

            Thanks for the reply. I think this is a good approach too. So we wouldn't have change database-persistence-service.xml file each time we switch database.

            Thanks.