2 Replies Latest reply on Dec 9, 2005 10:36 AM by tzablock

    Database overwritten at each JBoss startup.

    tzablock

      Hi i'm having this kind of issue:
      I'm using JBOSS AS 4.0.3 and Oracle 10g Express Database. I'm preparing a test applilcation with persistance mechanism in EJB3.

      The problem is that whenever I shutdown and run the server, the database data (tables, rows etc) is overwritten with new ones, so everything that was inserted into the tables is deleted.

      The second issue is that I don't want Jboss to create the database each time it gets up - I'd just like to map @Entities to the existing DB schema.

      I'd be grateful for any help.

      tzablock.