• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to prevent auto table creation?

 
Kay Tracid
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I use jboss 3.0.4 and if I try to deploy, my table is always created. I have a datasource OracleDS, there I defined no table creation... Where I have to set this param? Can sombody help please?

If the tabel already exists i get an exception from oracle:
14:38:09,912 ERROR [JDBCCommand] Exception caught executing SQL
java.sql.SQLException: ORA-00955: name is already used by an existing object
Thanks a lot, regards Kay
[ February 17, 2003: Message edited by: Kay Tracid ]
 
Kay Tracid
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found it
i added in javastandardjws.xml

<jaws>
<datasource>java:/OracleDS</datasource>
<type-mapping>Oracle8</type-mapping>
<debug>false</debug>
<default-entity>
<create-table>false</create-table>
<remove-table>false</remove-table>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic