-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Tables not created by Update schema on Oracle
PostPosted: Thu Aug 04, 2005 6:11 am 
Newbie

Joined: Thu Aug 04, 2005 5:48 am
Posts: 1
Location: Cluj-Napoca Romania
I have a problem with deploying an application. On deploy time the tables ar not created. I use JBoss 4.0.2.

Hibernate-Version: 3.0.5

Mapping documents: hibernate-service.xml
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="de.codebox.hibernate.jmx.Hibernate" name="jboss.har:service=ActionsProcessorHibernate">
<depends>jboss.jca:service=RARDeployer</depends>
<depends>jboss.jca:service=LocalTxCM,name=bil/ActionsProcessorDS</depends> <depends>jboss.jca:service=ManagedConnectionFactory,name=bil/ActionsProcessorDS</depends>
<depends>jboss.j2ee:module=actionsProcessor-ejb.jar,service=EjbModule</depends>
<depends>jboss.service:name=LicenseManager,application=cadmin</depends>
<attribute name="DefaultCatalog"/>
<attribute name="MinimalPutsEnabled"/>
<attribute name="BatchVersionedDataEnabled"/>
<attribute name="StreamsForBinaryEnabled"/>
<attribute name="ReflectionOptimizationEnabled"/>
<attribute name="DatasourceName">java:bil/ActionsProcessorDS</attribute>
<attribute name="DefaultSchema"/>

<attribute name="Hbm2ddlAuto">update</attribute>

<attribute name="MaxFetchDepth">1</attribute>
<attribute name="SessionFactoryName">java:bil/ActionsProcessorSessionFactory</attribute>
<attribute name="JdbcBatchSize">5</attribute>
<attribute name="JdbcFetchSize">1000</attribute>
<attribute name="JdbcScrollableResultSetEnabled">true</attribute>
<attribute name="GetGeneratedKeysEnabled">true</attribute>
<attribute name="QuerySubstitutions">true 1, false 0, yes 'Y', no 'N'</attribute>
<attribute name="QueryCacheEnabled">true</attribute>
<attribute name="CacheProviderClass">org.hibernate.cache.EhCacheProvider</attribute>
<attribute name="ShowSqlEnabled">true</attribute>
<attribute name="CacheRegionPrefix"/>
</mbean>
</server>

Full stack trace of any exception that occurs: no errors

Name and version of the database you are using:
Oracle 9.2.0.1

This works fine for MySQL and MS-SQL. Also if I use "create" instead of "update" the tables are created. I've used as JDBC driver: ojdbc14.jar for version: 9.2.0.1, 10.1.0.1 and 10.2.0.1

Do you have any ideaa?

thack you for your time.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.