<html>
<body>
<font size=3>At 03:37 PM 12/21/2007, Chris Cunnington wrote:<br>
<blockquote type=cite class=cite cite="">None of these answers are very
satisfying to you, I imagine, as you are<br>
working with an existing database, and not starting from scratch. I
have<br>
heard that the Glorp-maker, Alan Knight, is thinking of adding MySQL to
the<br>
package, which at the moment just works on PostgreSQL.</blockquote><br>
Um, Glorp works on a lot of different databases, including MySQL. But the
part that Glorp handles is really just generating SQL appropriate for the
database. It needs to be hooked up to a driver, which really just
involves changing the &lt;Dialect&gt;DatabaseAccessor to talk to that
driver. On VisualWorks, where there's a MySQL driver added in 7.6, which
uses the same sort of APIs as the other database drivers, it works fine.
Even the INFORMATION_SCHEMA reading stuff to read table definitions works
on MySQL. So it would just be a matter of making it use whichever MySQL
driver you wanted, and if the APIs between it and the other database
drivers are different, making those adjustments.<br><br>
I'm not likely to do the adjustments for Squeak, but if someone else
wants to, I'd be happy to make sure they get merged in.<br>
</font></body>
<br>
<div>--</div>
<div>Alan Knight [|], Cincom Smalltalk Development</div>
<div>knight@acm.org</div>
<div>aknight@cincom.com</div>
<div><a href="http://www.cincom.com/smalltalk" EUDORA=AUTOURL>
http://www.cincom.com/smalltalk</a></div>
</html>