[infinispan-issues] [JBoss JIRA] (ISPN-4247) JPA cachestore fails with Oracle12c and PostgreadPlus 9

Vojtech Juranek (JIRA) issues at jboss.org
Tue Jun 24 02:16:28 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978784#comment-12978784 ] 

Vojtech Juranek commented on ISPN-4247:
---------------------------------------

persistent.xml should be DB agnostic (as whole usage of JPA) if possible and DB dialect recognition is "standard" Hibernate feature, so users will expect this to be working. AFAIK it's already fixed in upstream and should be fixed also in EAP 6.3. Is there any issue to use same Hibernate artifacts as EAP 6.3?

> JPA cachestore fails with Oracle12c and PostgreadPlus 9
> -------------------------------------------------------
>
>                 Key: ISPN-4247
>                 URL: https://issues.jboss.org/browse/ISPN-4247
>             Project: Infinispan
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Core
>            Reporter: Vojtech Juranek
>            Assignee: Dan Berindei
>              Labels: 63gablocker
>             Fix For: 7.0.0.Alpha4, 7.0.0.Final
>
>
> JPA cache store fails on Oracle12c and  PostgreadPlus 9 as Hibernate is not able to determine the dialect to be used:
> {noformat}
> [java] Caused by: org.hibernate.HibernateException: Unable to determine Dialect to use [name=Oracle, majorVersion=12]; user must register resolver or explicitly set 'hibernate.dialect'
> {noformat}
> resp.
> {noformat}
> [java] Caused by: org.hibernate.HibernateException: Unable to determine Dialect to use [name=EnterpriseDB, majorVersion=9]; user must register resolver or explicitly set 'hibernate.dialect'
> {noformat}
> To fix it, HIbernate upgrade is needed. PotgresPlus is fixed in 4.3.0.Beta4 (tracking JIRA is [HHH-8349|https://hibernate.atlassian.net/browse/HHH-8349]), Oracle12c is fixed in Hibernate 5.0.0 (tracking JIRA is [HHH-9044|https://hibernate.atlassian.net/browse/HHH-9044])



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list