On Thu, May 23, 2013 at 04:13:45PM -0500, Laura McCord wrote:
> I think I may have some hibernate/oracle version issue and if anyone
> can offer a suggestion I'd really appreciate it.
>
> I'm configuring CAS 3.5.2
>
> I have an Oracle 11g (11.2.0.2) database and I am using the ojdbc6_g driver
>
> Here are some of the relevant details that I am using:
>
> <dependency>
> <groupId>com.oracle</groupId>
> <artifactId>ojdbc6_g</artifactId>
> <version>11.2.0.2</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>
It doesn't look like a CAS problema, but a Hibernate one, but... Did you add
"hibernate-core" dependency elsewhere?
> <commons.dbcp.version>1.4</commons.dbcp.version>
> <hibernate.core.version>4.1.9.Final</hibernate.core.version>
>
> database.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
> database.driverClass=oracle.jdbc.driver.OracleDriver
>
> I'm receiving this error:
> Caused by: java.lang.NoSuchMethodError:
> org.hibernate.internal.SessionFactoryImpl.withOptions()Lorg/hibernate/engine/spi/SessionBuilderImplementor;
>
> It looks like I may be missing a dependency but not sure what I'm missing.
>
> Thanks,
> Laura
>
>
>
> --
> 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
--
-----------------------
Alberto Cabello Sánchez
[email protected]
--
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