U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Possible SqlOption Problem [Solved]
Re: Possible SqlOption Problem [message #22792 is a reply to message #22783] Sun, 16 August 2009 23:58 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
marroyo wrote on Fri, 14 August 2009 15:39

I've same problem when using a SqlOption in a PostgreSQL application. The column is a bool type PGAdmin III show column values as true or false.

Assertion failed in C:\uppsrc\Core/Value.h, line 417
dynamic_cast<const RichValueRep *>(p)


Assertion fails on sql_array.Query();

Using Option doesn't work because it return a int and then insert fails.

Any help?


Well, I do not really have enough info.

Anyway, SqlOption provides String - because some DB do not support "bool" type.

If the "bool" in DB is real bool, I believe normal Option should work fine.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MSSQL binary data
Next Topic: [sql] Select embeded in join
Goto Forum:
  


Current Time: Tue Jul 21 16:56:12 GMT+2 2026

Total time taken to generate the page: 0.00581 seconds