Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • 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>
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!