[Objectbridge-developers] MySQL and OJB-0.5.180
Brought to you by:
thma
From: Hans V. W. <ha...@ix...> - 2001-10-04 21:30:13
|
With the 0.5.155 release of OJB I was able to get the tutorial examples to run after modifying the size of OID related fields in the sql1.txt script from 1024 to 255 (did not look at any code to find out what the consequences might be). The same does not seem to work for the 0.5.180 release: I made the same modifications to sql1.txt and adjusted the settings in repository.xml to work with MySQL. Running "build tests" seems to generate all the necessary tables and gives me the message: [java] [java] Connected to jdbc:mysql://localhost:3306/test [java] Driver Mark Matthews' MySQL Driver [java] Version 2.0.4 [java] I therefore assume my jdbc specification in sql1.txt must be correct. However, running tutorial1 or 2 gives me the following error: java.sql.SQLException: OJB Error: could not obtain a Connection at ojb.broker.accesslayer.StatementsForClass.getConnection(StatementsForCla ss.java:119) I toyed around with the url.ddbalias setting, the user.name and user.password settings, but other than making things worse (connection refused), I cannot get it to work. Any ideas? Am I posting this to the right mailing list? |