1 Reply Latest reply on Dec 16, 2002 8:43 AM by juha

    stopping deployment try to create tables

    colinc

      When I deploy my application it tries to create the tables, even though they already exist in the database. I am not doing anything that I am aware of to cause this. Is there anywhere I should check ?

      I am using jboss 3.0.4; with Oracle (thin drivers).

      the actual error displayed is ORA-00904: : invalid identifier

      But when I increase the logging levels, a create table is being attempted.

      Thanks, Colin

        • 1. Re: stopping deployment try to create tables

          standardjbosscmp-jdbc.xml sets defaults:

          <jbosscmp-jdbc>


          java:/DefaultDS
          <datasource-mapping>Hypersonic SQL</datasource-mapping>

          <create-table>true</create-table>


          So by default a create table is attempted if table does not exist when you're deploying an entity. Though it seems oracle should not die on this alone. But I don't know Oracle details.