Does QxOrm support the MySQL BIT type?

Forum for posting problems using QxOrm library

Does QxOrm support the MySQL BIT type?

Postby xormwolf » Fri May 24, 2019 9:37 am

Hi again,

The properties generated with QxEntityEditor for BIT types map to QVariant by default, but there is no value in it.
When we map BIT type to bool, qx_bool, int or char the value is not correctly get or set from the DB either.

How does QxOrm support the MySQL BIT type?
Thank you for any help,
xormwolf
xormwolf
 
Posts: 4
Joined: Tue May 14, 2019 11:40 am

Re: Does QxOrm support the MySQL BIT type?

Postby qxorm » Tue May 28, 2019 12:54 pm

Hello,

On this Qt web page, you have all database types supported by Qt SQL engine (so by QxOrm library) : https://doc.qt.io/qt-5/sql-types.html
So I would try to map BIT to QByteArray type.

If it doesn"t work, the problem is in Qt QMYSQL plugin, so I would recommend to open a JIRA on Qt bug tracker if you don't find any workaround.
qxorm
Site Admin
 
Posts: 451
Joined: Mon Apr 12, 2010 7:45 am


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 1 guest