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.
|