> We'd be interested in:
>
> * what problem you discovered

Again, I should emphasize the issue I referred to has nothing to do
with CAS.  Here's the commit message in our source for the fix:

---------------------------------------------
Specify the Oracle 10g dialect.
Failure to do so results in a hibernate error when deploying on 11g.
Hibernate does not have an 11g dialect in the version shipped with JBoss.
---------------------------------------------

Note that we were constrained by the Hibernate version that shipped
with our JBoss container version.  There may well be a 11g dialect in
the Hibernate libs used by CAS.

> * what the resolution was

Explicitly stated 10g dialect in persistence.xml:

--- j2ee/trunk/core/src/main/resources/META-INF/persistence.xml 2010-06-22
14:39:17 UTC (rev 9761)
+++ j2ee/trunk/core/src/main/resources/META-INF/persistence.xml 2010-06-22
15:11:56 UTC (rev 9762)
@@ -10,6 +10,9 @@
                 value="ejb/ed/EntityManagerFactory"/>
       <property name="jboss.entity.manager.jndi.name"
                 value="ejb/ed/EntityManager"/>
+      <!-- specify 10g dialect in case we are running on 11g -->
+      <property name="hibernate.dialect"
+                value="org.hibernate.dialect.Oracle10gDialect"/>
       <!-- disable Hibernate second level cache - not currently used -->
       <property name="hibernate.cache.provider_class"
                 value="org.hibernate.cache.NoCacheProperty"/>


> * if you had a recommendation for a preferred value for 
> database.hibernate.dialect

If the Hibernate version that ships with CAS has an 11g dialect use
that, otherwise the 10g dialect.

M

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

Reply via email to