File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How to prevent auto table creation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to prevent auto table creation?" Watch "How to prevent auto table creation?" New topic
Author

How to prevent auto table creation?

Kay Tracid
Ranch Hand

Joined: Mar 06, 2002
Posts: 148
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

Joined: Mar 06, 2002
Posts: 148
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to prevent auto table creation?
 
Similar Threads
Jboss and Oracle
JBOSS DataSource/Tomcat App - Unable to get connection, DataSource invalid
Problem with JBoss 4.0.3
Problem in putting a dataSource for the Oracle 9i database on JBoss for entity beans
acessing data source from ejb in JBOSS