Can you check the juddi.log for errors? If it doesn't create all the
tables, there must be some error that may give you a clue as to what's
going on. --K
On 4/4/11 12:43 PM, Martynas A. (chainer) wrote:
okay I did it from the start with using MySQL5Dialect. Deleted
juddiv3.xml, edited persistence.xml looks now (
http://codepaste.net/donutg ), and context.xml looks now (
http://codepaste.net/hckpnf ). Still creates only 34 tables.
--Martin
2011/4/4 Tom Cunningham <[email protected] <mailto:[email protected]>>
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.