• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to prevent auto table creation?

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
reply
    Bookmark Topic Watch Topic
  • New Topic