[
https://issues.jboss.org/browse/GTNPORTAL-2960?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-2960:
----------------------------------------------------
Viliam Rockai <vrockai(a)redhat.com> made a comment on [bug
975374|https://bugzilla.redhat.com/show_bug.cgi?id=975374]
I've tried to run the JPP ER02 with the configuration used in the QA:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EPP/view/EPP/view/6...
The exception described above wasn't raised even if I changed the configuration to:
gatein.jcr.datasource.dialect=auto
Instead of this problem, there is a new one and is related to the jdbc driver:
https://bugzilla.redhat.com/show_bug.cgi?id=979528
Switching the hibernate version to 4.2.2 didn't affect this bug in any way.
By switching I mean replacing these libs in modules:
./modules/system/layers/base/org/hibernate/main/hibernate-entitymanager-4.2.0.Final-redhat-1.jar
./modules/system/layers/base/org/hibernate/main/hibernate-core-4.2.0.Final-redhat-1.jar
./modules/system/layers/base/org/hibernate/main/hibernate-infinispan-4.2.0.Final-redhat-1.jar
./modules/system/layers/base/org/hibernate/envers/main/hibernate-envers-4.2.0.Final-redhat-1.jar
Unable to determine Dialect to use [name=EnterpriseDB,
majorVersion=9] - for PostgresPlus 9.2
---------------------------------------------------------------------------------------------
Key: GTNPORTAL-2960
URL:
https://issues.jboss.org/browse/GTNPORTAL-2960
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.6.0.Beta02
Environment: PostgresPlus 9.2 (EnterpriseDB)
edb-jdbc14.jar
Reporter: Tomas Kyjovsky
Labels: JPP61-Test-dev
Attachments: hibernate-exception.txt
Hibernate DialectFactory cannot determine "hibernate.dialect" for PostgresPlus
9.2 (EnterpriseDB).
...
org.hibernate.HibernateException: Unable to determine Dialect to use [name=EnterpriseDB,
majorVersion=9]; user must register resolver or explicitly set
'hibernate.dialect'
at
org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:105)
[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
at
...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira