On 04/04/2011 12:12 PM, Martynas A. (chainer) wrote:
I'm using portable 'juddi-portal-bundle-3.0.4', MySQL5.5 [mysql Ver
14.14 Distrib 5.5.9, for Win32 (x86)], and now tried with PostgreSQL
(postgres (PostgreSQL) 9.0.3).
okay I feel a bit green now, how to use MySQL5Dialect then? If it's
about of downloading 'hibernate-core-3.3.2.GA.jar' and adding it to
'~\lib', I did it but nothing changes. I don't know how exactly this
object-relational mapping works.
The first instruction in the User Guide on how to switch to MySQL talks
about editing the persistence.xml file and adding :
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
What Kurt is suggesting is adding :
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"/>
instead. I have MySQL 5 installed locally, so if you're still
having problems after that, I'll run through the instructions on my box
with the juddi-portal-bundle and double check them for you.