FB3.0 and ODBC with boolean fields problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FB3.0 and ODBC with boolean fields problem

liviuslivius@poczta.onet.pl
Hi,
 
i try current snapshot of ODBC driver and i have problem to insert data with it to table with boolean fields
is this ODBC driver problem or FB itself?
With normal table without boolean all work ok.
 
From application i get "conversion error from string "0"
 
from trace i get this
 
2013-10-30T09:46:08.1990 (1724:01B63730) ERROR AT JStatement::execute
 C:\FIREBIRDDB\TESTOWA.TEST (ATT_8, SYSDBA:NONE, NONE, TCPv4:192.168.16.1)
 P:\RidoToFB\Win32\Debug\RIDO_To_FB.exe:9200
335544569 : Dynamic SQL Error
335544436 : SQL error code = -303
335544334 : conversion error from string "0"
 
 
regards,
Karol Bieniaszewski

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FB3.0 and ODBC with boolean fields problem

Alexander Potapchenko-2
ODBC driver does not support Firebird boolean type fully (only reading).

On 12.11.2013 11:27, liviuslivius wrote:
Hi,
 
i try current snapshot of ODBC driver and i have problem to insert data with it to table with boolean fields
is this ODBC driver problem or FB itself?
With normal table without boolean all work ok.
 
From application i get "conversion error from string "0"
 
from trace i get this
 
2013-10-30T09:46:08.1990 (1724:01B63730) ERROR AT JStatement::execute
 C:\FIREBIRDDB\TESTOWA.TEST (ATT_8, SYSDBA:NONE, NONE, TCPv4:192.168.16.1)
 P:\RidoToFB\Win32\Debug\RIDO_To_FB.exe:9200
335544569 : Dynamic SQL Error
335544436 : SQL error code = -303
335544334 : conversion error from string "0"
 
 
regards,
Karol Bieniaszewski
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ Firebird-odbc-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel


--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
Loading...