Right, I had to use org.hibernate.dialect.Oracle10gDialect.

In fact, I used the attached email thread to fix the WebProxyPortlet: 
http://jasig.275507.n4.nabble.com/WebProxyPortlet-does-not-start-in-uP-4-0-8-td4657403.html

In summary, there were 2 places I had to fix in WebProxyPortlet:

1) 
uportal-portlets-overlay/WebProxyPortlet/src/main/webapp/WEB-INF/datasource.properties
      I manually added the dialect here

2) 
uportal-portlets-overlay/WebProxyPortlet/src/main/webapp/WEB-INF/applicationContextOverrides.xml
 

     I commented out the jpaVendorAdaptor bean

Those steps seemed to get rid of the hibernate exception.

Laura



On 2/14/13 9:22 AM, Xin Feng wrote:
> Hi Laura,
>
> Thanks.  What did you use for "environment.build.hibernate.dialect "  ?
>
> I used
>
> <jdbc.groupId>com.oracle</jdbc.groupId>
> <jdbc.artifactId>ojdbc6</jdbc.artifactId>
> <jdbc.version>11.2.0.3 </jdbc.version>
>
> with
>
> environment.build.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
>
> uPortal seems working,  but WebProxyPortlet failed as following:
>
> Caused by: org.hibernate.HibernateException: unknown Oracle major 
> version [11]
>
> And we are heavily using WebProxyPortlet .
>
> Thanks,
> Xin
>
> On Thu, Feb 14, 2013 at 10:01 AM, Laura McCord <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hi Xin,
>
>     I used the following driver configuration for Oracle 11g and it works.
>
>     <jdbc.groupId>com.oracle</jdbc.groupId>
>     <jdbc.artifactId>ojdbc6_g</jdbc.artifactId>
>     <jdbc.version>11.2.0.3</jdbc.version>
>
>     -Laura
>
>
>     On 2/14/13 8:56 AM, Xin Feng wrote:
>>     Hi,
>>
>>     What version of Oracle JDBC driver should be used with Oracle 11g
>>     Database?
>>
>>     Have anyone tried with Oracle on Exadata?
>>
>>     Thanks,
>>     Xin
>>     -- 
>>
>>     You are currently subscribed [email protected]  
>> <mailto:[email protected]>  as:[email protected]  
>> <mailto:[email protected]>
>>     To unsubscribe, change settings or access archives, 
>> seehttp://www.ja-sig.org/wiki/display/JSG/uportal-dev
>
>     -- 
>
>     You are currently subscribed [email protected]  
> <mailto:[email protected]>  as:[email protected]  
> <mailto:[email protected]>
>     To unsubscribe, change settings or access archives, 
> seehttp://www.ja-sig.org/wiki/display/JSG/uportal-dev
>
>
> -- 
>
> 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/uportal-dev


-- 
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/uportal-dev

Reply via email to