Menu

Using hibernate for persistance in arianne

Developers
2007-03-23
2013-06-06
  • Abhishek Dutta

    Abhishek Dutta - 2007-03-23

    Hi,
    I developing multiplayer version of snake game using arianne.
    When reading the documentation i came across <http://arianne.sourceforge.net/wiki/index.php?title=DatabaseDesign>
    "
    How objects are stored

    There is a problem right now in Marauroa: storing an object involves two steps, remove the previous stored object and insert the new one. This is a very complex operation and it could be simplified to update just the fields that has changed. May you want to do it? "

    I have used hibernate (http://hibernate.org/) in one of my Java projects and I think the problem of object persistance can be solved easily by using hibernate.
    I just wanted to know what the core developers of arianne think about using hibernate for object persistance.

    Bye

     
    • Miguel Angel Blanch Lardin

      No that is false right now.
      We store objects in a blob at MySQL, you can see it either at Stendhal or at Marauroa 2.0
      I also though about using hibernate but finally discarted it just for not adding a extra dependencies.
      The actual way works really good IMHO.

      Anyway, if you want to do it you can do it for Marauroa 2.0 and we can add it to Marauroa, as database is accessed using an interface.

      Just my 2 cents.

      Regards,
      Miguel

       

Anonymous
Anonymous

Add attachments
Cancel