I had the same problem last spring and I think I resolved it by using the right
combination of hibernate and oracle driver/dialect version.
These are the relevant versions I’m using:
dialect:
database.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
versions:
<jdbc.groupId>com.oracle</jdbc.groupId>
<jdbc.artifactId>ojdbc6_g</jdbc.artifactId>
<jdbc.version>11.2.0.2</jdbc.version>
<hibernate.validator.version>4.0.2.GA</hibernate.validator.version>
<hibernate.core.version>4.0.1.Final</hibernate.core.version>
<commons.dbcp.version>1.4</commons.dbcp.version>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>${jdbc.artifactId}</artifactId>
<version>${jdbc.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<scope>compile</scope>
<version>${hibernate.core.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate.core.version}</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>${commons.dbcp.version}</version>
<scope>runtime</scope>
</dependency>
Hope this helps,
Laura
On Nov 25, 2013, at 1:13 PM, Erik <[email protected]> wrote:
>
> Two tables get created: locks and rs_attributes, but none of the other tables.
>
> <prop key="hibernate.dialect">${database.hibernate.dialect}</prop>
> <prop
> key="hibernate.hbm2ddl.auto">update</prop>
>
> database.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
>
> I'm using the war overlay method of deployment. Can anyone offer some insight
> into this issue?
> Thanks
> Erik
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user