<br><br><div class="gmail_quote">On Fri, Apr 29, 2011 at 3:53 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK thanks guys I&#39;ll answer answer both in one shot.<br>
<br>
&gt; Date: Fri, 29 Apr 2011 10:54:37 +0200<br>
&gt; From: Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;<br>
&gt; Subject: Re: [SqueakDBX] MSSQL, selecting nvarchar (other types too)<br>
&gt;        field   causes DBXTypeNotSupported.<br>
&gt; To: The complete and open-source solution to relational database<br>
&gt;        access  &lt;<a href="mailto:squeakdbx@lists.squeakfoundation.org">squeakdbx@lists.squeakfoundation.org</a>&gt;<br>
&gt; Message-ID: &lt;BANLkTi=jeTSo2UOvchsyc=Mp=<a href="mailto:WbRtfRVxw@mail.gmail.com">WbRtfRVxw@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt;<br>
&gt; Hi Miguel. This is something that we really need to fix and make it clear.<br>
<br>
My apologies for the newbie questions and generally being dense about<br>
understanding the code.<br>
<br></blockquote><div><br>your questions are very welcome. <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
&gt;<br>
&gt; I will try to explain:  OpenDBX library have 4 special functions (check<br>
&gt; above in <a href="http://www.linuxnetworks.de/doc/index.php/OpenDBX/C_API/1.2" target="_blank">http://www.linuxnetworks.de/doc/index.php/OpenDBX/C_API/1.2</a>) when<br>
&gt; managing large objects WHEN the backend requires such.<br>
&gt; We wrongly understood that at the beginning. So...we throw<br>
&gt; DBXTypeNotSupported for every large object even if we could really support<br>
&gt; it.<br>
<br>
.... and this includes nvarchar? This doesn&#39;t need the large object<br>
functiuon calls does it? doesn&#39;t really matter. If it&#39;s assigned<br>
unknown then it needs to be handled anyway.<br></blockquote><div><br><br><br>grrrr  sorry my bad. I got confused about large objects...<br>OpenDBX has a list of supported types, that you can check here: <a href="http://www.linuxnetworks.de/doc/index.php/OpenDBX/DBMS_Datatypes">http://www.linuxnetworks.de/doc/index.php/OpenDBX/DBMS_Datatypes</a><br>
<br>nvarchar is not even mentioned there :(   <br>So I guess it is not supported. But as said, try it overwritting createDataTypesMap. And tell us what happens.<br>If it doesn&#39;t work, we can ask Norbert (OpenDBX developer) since he is always very helpful. <br>
 <br></div></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>