0 Replies Latest reply on May 19, 2005 4:45 AM by tbech

    creation of sequence for automatic pk values

    tbech

      Sequence is specified for pk as follows:
      <entity-command name="postgresql-fetch-seq">
      my_sequence
      </entity-command>

      it there any way to tell JBoss to create the sequence when ear deployed (as for all tables, etc)?
      I digged and I couldn't find how.

      One can say: do it youselft is is just one sql: 'create sequence my_sequence' s. But I think many preffers when whole DB is created by container and not to bother with additional scripts/sql code.