Esteban, Of course the real goal is to bring the dolphin to the penguin with the pharo's help :) Thanks to all for making it an attainable goal. A good next step would be to package the catalog functions for others to use. The code currently lives in an ODBC sub-package (or whatever the correct term is) of my DolphinCompatibility package, some of which is very preliminary at present. One concern I have is checking code for comments that should not be made public due to non-disclosure agreements. It would be nice if there were a way to create syntax-highlighted HTML from a PackageInfo instance. Any ideas? Failing that, is there a way to get Monticello to save only part of a package? For example, it would be a lot easier for me to screen DolphinCompatibility-ODBC than all of DolphinCompatibility. Are there tools to save only that part of it? Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Esteban A. Maringolo Sent: Wednesday, September 02, 2009 9:21 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] ODBCWarning Bill, I celebrate your work of bringing the dolphin near the pharo ;-) Thanks for your collaboration, Esteban A. Maringolo 2009/9/2 Schwab,Wilhelm K <bschwab@anest.ufl.edu>
Hello all,
I think I have the catalog (tables and field name/type given a table name) working. Â The latest ODBC offering appears to work, but in fairness to me, it does not work the same way it did (some time ago) when I crossed database access off of my potential-show-stopper list.
Re the warnings about change of language, for some strange reason, I find it very easy to believe that this is a Microsoft idiosyncrasy and so I added a suitable #on:do: to capture the warning. Â That could be bad though; better ideas are welcome.
The problem I had going from Linux to Windows will probably persist. Â Of course, I would like to see the startup/shutdown system revised to make such things easier to get right, after which it would hopefully become short work to fix.
The ODBC package derives ODBCRow from IdentityDictionary and ODBCResultSet from Stream. Â IMHO, it always seems cleaner to compose rather than inherit the limited functionality that the base class provides. Â However, the inheritance is not really hurting anything here; socket addresses being inherited from byte arrays *is* hurting us. Â I brushed up against that at one point, but was able to work around it. Â When it gets between me and something I need, I will introduce an InternetAddress class and try to lazily resolve names and addresses, fix the printing, etc.
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Schwab,Wilhelm K Sent: Tuesday, September 01, 2009 3:15 PM To: Pharo-project@lists.gforge.inria.fr Subject: [Pharo-project] ODBCWarning
The porting continues... Â It is getting closer to doing something. Â It just raised an ODBCWarning about the server changing the language to us_english. Â Any ideas? Â Either I do not care or should set it up front??
One thing really surprised me, and note that I might have brought this on myself (though I think that is unlikely) by messing with startup and shutdown: the ODBCLibrary was stubbornly clinging to the Linux library from my home machine. Â I finally used
  ODBCLibrary default initialize.
which seemed to put an end to the separation anxiety. Â Is there a better fix? Â I suppose I should try this in a clean image to see if there is really a problem therein, but that will be a little hard to do without a lot of my code, almost any of which either depends on changes I have made or could have caused the problem.
Maybe I should ask whether some of you use ODBC on Windows and Linux and have no problems moving between the machines.
Bill
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project