<br><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 4:56 PM, Miguel Sanchez <span dir="ltr">&lt;<a href="mailto:mikey.sanchez@gmail.com">mikey.sanchez@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Many thanks Mariano, copying libsybdb-5.dll to the Pharo directory<br>
(along with the precompiled openDBX dll&#39;s full listing below.) sorted<br>
out the problem with the DLL dialog.<br>
<br></blockquote><div><br>Excellent!  just curiosity...which country are you from?  mexico?<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

libfirebirdbackend-1.dll<br>
libmssqlbackend-1.dll<br>
libmysqlbackend-1.dll<br>
libodbcbackend-1.dll<br>
libopendbx-1.dll<br>
libopendbxplus-1.dll<br>
liboraclebackend-1.dll<br>
libpgsqlbackend-1.dll<br>
libsqlite3backend-1.dll<br>
libsybasebackend-1.dll<br>
libsybdb-5.dll<br>
<br>
However.......When I try to connect to the database (see below) I get<br>
thrown into the debugger with the following signal.<br>
DBXRecoverableError: RECOVERABLE OpenDBX: Connecting to server failed.<br>
<br>
        | conn connectionSettings |<br>
    connectionSettings := DBXConnectionSettings<br>
                host: &#39;localhost&#39;<br>
                port: &#39;1433&#39;<br>
                database: &#39;LanceNG&#39;<br>
                userName: &#39;mike&#39;<br>
                userPassword: &#39;mike&#39;.<br>
<br>
 conn := DBXConnection platform: DBXMSSQLPlatform new settings:<br>
connectionSettings.<br>
 conn connect.<br>
conn open.<br>
<br></blockquote><div><br>The error sounds familiar for me. I think Diogenes had the same problem. He is the list and maybe he can help you.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
It&#39;s a little strange that the message occurs on &quot;conn open&quot; and not<br>
on &quot;conn connect&quot; (?). </blockquote><div><br>That&#39;s correct. In most databases, connect only opens the TCP/IP connection to the host:port. And then the #open logs in the database, using the databae name, username, and passwd.<br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I have tested the user from the local MSSQL<br>
management Studio and logs in fine and has correct permissions on<br>
objects. I have not found a dump or debug log in the Pharo directory.<br>
<br>
I&#39;ll start looking at compiling freetds and opendbx as there may be<br>
utilities that will give more meaningful debug info to isolate where<br>
the problem lies.<br></blockquote><div><br>did you try connecting througt TSQL? does it work?<br><br>cheers<br><br>mariano<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
Best Regards,<br>
<br>
<br>
Miguel<br>
<br>
<br>
<br>
<br>
<br>
On 4 March 2011 10:39, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt; Hi. I cc&#39;ed the squeakdbx mailing list because others may help you better<br>
&gt; than me. You can register if you want.<br>
&gt;<br>
&gt; On Fri, Mar 4, 2011 at 10:26 AM, &lt;<a href="mailto:Mikey.Sanchez@gmail.com">Mikey.Sanchez@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Buenos dias (tardes?)<br>
&gt;&gt;<br>
&gt;<br>
&gt; jejeje buenos días acá (estoy en Francia ahora)<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; That&#39;s brilliant news! In enterprise legacy DB&#39;s are (still) so often the<br>
&gt;&gt; simplest integration point that a functional non-blocking implementation is<br>
&gt;&gt; vital.<br>
&gt;&gt;<br>
&gt;&gt; By coincidence I&#39;ve been looking at SqueakDBX to interface to a SQLServer<br>
&gt;&gt; database for a once off import (for now) using Pharo 1.1.1 one-click.<br>
&gt;&gt; and......... I&#39;m having some trouble.<br>
&gt;&gt; I installed SqueakDBX and Glorp via metacello.<br>
&gt;&gt; Downloaded Windows binaries for openDBX.<br>
&gt;&gt; Got a windows dialog when trying to connect that libsybdb-5.dll was<br>
&gt;&gt; missing.<br>
&gt;&gt; Soooooo when I googled it I came to the conclusion that I need to compile<br>
&gt;&gt; either openDBX or freeTDS. However <a href="http://mingw.org" target="_blank">mingw.org</a> seems to be out of action and<br>
&gt;&gt; I&#39;m struggling to find alternative installers.<br>
&gt;&gt;<br>
&gt;<br>
&gt; All that is true. Whenever you want to use SqueakDBX you need both: openDBX<br>
&gt; library AND the database client library. However, there are already copiled<br>
&gt; dll so that you can directly use.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; While googling I saw that you had responded to newbies in the squeakDBX<br>
&gt;&gt; mailing list making suggestions. You wouldn&#39;t happen to know where I can lay<br>
&gt;&gt; my hands on a compiled 32 bit libsybdb-5.dll. It would save me some pain I<br>
&gt;&gt; think .<br>
&gt;<br>
&gt; Sure. I attach. Please rename .xxx to .dll<br>
&gt; Now, I wondering if we should upload them for make it easier...<br>
&gt;<br>
&gt; BTW, these links should help you in case you need to compile:<br>
&gt;<br>
&gt; <a href="http://www.squeakdbx.org/SQL%20Server" target="_blank">http://www.squeakdbx.org/SQL%20Server</a><br>
&gt; <a href="http://www.squeakdbx.org/database%20scripts" target="_blank">http://www.squeakdbx.org/database%20scripts</a><br>
&gt; <a href="http://www.squeakdbx.org/SQL%20Server%20for%20Win" target="_blank">http://www.squeakdbx.org/SQL%20Server%20for%20Win</a><br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; BTW. What is the state of squeakDBX W.R.T. MSSQL at the moment?<br>
&gt;&gt;<br>
&gt;<br>
&gt; It is working. In fact, Diogenes Moreira did a production system using<br>
&gt; GLorpDBX + SqueakDBX + MSSQL<br>
&gt;<br>
&gt; cheers<br>
&gt;<br>
&gt; mariano<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Many thanks.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Miguel Sanchez<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mar 4, 2011 9:40am, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; We are really happy to announce that ESUG<br>
&gt;&gt; &gt; will sponsor us once again through the ESUG Summer Talk project. This<br>
&gt;&gt; &gt; means<br>
&gt;&gt; &gt; that we have reached the ESUG expectations and that they still think<br>
&gt;&gt; &gt; that relational database access is an important matter in Smalltalk.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; One important thing is that we are going to rename the project (we<br>
&gt;&gt; &gt; are still working on it) since SqueakDBX runs not only in Squeak but<br>
&gt;&gt; &gt; also in Pharo, and there have been even ports to Dolphin. What&#39;s the<br>
&gt;&gt; &gt; reason for this decision? Because we do not want to couple ourselves to<br>
&gt;&gt; &gt; a<br>
&gt;&gt; &gt; smalltalk dialect nor to OpenDBX, because our project is much more than<br>
&gt;&gt; &gt; that (later I will tell you about our plans). So, these are some of the<br>
&gt;&gt; &gt; possible names: ObjectPark, SmallParking, Parktalk, SmallValet,<br>
&gt;&gt; &gt; Valetalk, ValetST, NorayTalk, Ballard, Noray and Cruise. Please let us<br>
&gt;&gt; &gt; know which one is your favourite or help us find a new one.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Another important subject is the team. There will be three<br>
&gt;&gt; &gt; &quot;mentors&quot;, Esteban Lorenzano, Diogenes Moreira and myself, Mariano<br>
&gt;&gt; &gt; Martinez Peck; and three students: Guillermo Polito, Nicolas Scarcella<br>
&gt;&gt; &gt; and Santiago Bragagnolo.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; We are open to suggestions and ideas. In addition, we have defined a<br>
&gt;&gt; &gt; possible list of actions that I copy at the end of the email.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; For the moment, the url remains <a href="http://www.squeakdbx.org" target="_blank">www.squeakdbx.org</a> and the mailing<br>
&gt;&gt; &gt; list <a href="mailto:squeakdbx@lists.squeakfoundation.org">squeakdbx@lists.squeakfoundation.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Once again, we want to thank ESUG for their support and trust.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank<br>
&gt;&gt; &gt; you very much,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; SqueakDBX team<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Possible<br>
&gt;&gt; &gt; list of actions:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 1) Change SqueakDBX’s name.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2)<br>
&gt;&gt; &gt; Update GLORP version since the actual one is 3 years old.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Port it again from VisualWorks, create a VW porting tool (may be).<br>
&gt;&gt; &gt; Complete<br>
&gt;&gt; &gt; support to Glorp.  Today it works with PostgreSQL, Oracle and MySQL.<br>
&gt;&gt; &gt;  Make it work with most databases OpenDBX supports.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 3) Create a<br>
&gt;&gt; &gt; lightweight solution, alternatively to GLORP.  There are some options:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Make SqueakSave work with SqueakDBX.  SqueakSave developers already<br>
&gt;&gt; &gt; contacted us because they wanted to do it. SqueakSave seems to be 20%<br>
&gt;&gt; &gt; slower than Glorp but you don&#39;t need to write the mappings :)<br>
&gt;&gt; &gt; Adapt<br>
&gt;&gt; &gt; Ramon Leon&#39;s active record to use an abstract database driver, and<br>
&gt;&gt; &gt; create a driver for SqueakDBX.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Port the new Glorp’s kind of active record to Pharo. (included in 2).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 4)<br>
&gt;&gt; &gt; Write a Pharo By Example 2 chapter based on the card game Stef built<br>
&gt;&gt; &gt; ;).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 5) Cog compatibility.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 6) Use Alien instead of FFI.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Eliot is working on a threaded CogVM. One of the projects of the GSoC of<br>
&gt;&gt; &gt; this year was to make something similar to a threaded FFI. What the<br>
&gt;&gt; &gt; student did is a modification in Alien (I think) that can be run in a<br>
&gt;&gt; &gt; multithreaded envirorment. He worked with Eliot. The idea is when Eliot<br>
&gt;&gt; &gt; releases the threaded CogVM, this FFI would work our of the box, and<br>
&gt;&gt; &gt; would avoid locking the WHOLE vm while a C function is being invoked (as<br>
&gt;&gt; &gt; it happens today with FFI).....So....when that VM is released, we MUST<br>
&gt;&gt; &gt; migrate to that).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 7) Explore performance issues (maybe with our approach of &quot;In thread<br>
&gt;&gt; &gt; execution plugin&quot;).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 8) Complete integration with OpenDBX.<br>
&gt;&gt; &gt; For example, Oracle, for large objects (Clob, Blob, etc) use specific<br>
&gt;&gt; &gt; functions. There are specific functions in OpenDBX that have to be used<br>
&gt;&gt; &gt; if the database uses specific functions (oracle is the only one for the<br>
&gt;&gt; &gt; moment.). We don&#39;t manage those functions yet.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 9) In this link <a href="http://www.squeakdbx.org/Targets%20and%20Features" target="_blank">http://www.squeakdbx.org/Targets%20and%20Features</a><br>
&gt;&gt; &gt; You<br>
&gt;&gt; &gt; can see a list of future possible features like Connection pooling (now<br>
&gt;&gt; &gt; it is done!), Prepared statement interface, Store procedures, Escape<br>
&gt;&gt; &gt; and avoid of SQL insertion, Authentication support: extends to other<br>
&gt;&gt; &gt; methods, not only user/password, Full text support, etc.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org">SqueakDBX@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br>
</blockquote></div><br>