Page 1 of 1

Does QxOrm support the MySQL BIT type?

PostPosted: Fri May 24, 2019 9:37 am
by xormwolf
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

Re: Does QxOrm support the MySQL BIT type?

PostPosted: Tue May 28, 2019 12:54 pm
by qxorm
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.