[Interest] Making an ORM Library

Jason H scorp1us at yahoo.com
Wed Sep 11 17:13:38 CEST 2013


Agreed, but I also wrote my own if you want a no-frills direct-to-sqlite-table one.
Oh, I take that back, I do have one frill, which is transaction support.



________________________________
 From: Bo Thorsen <bthorsen at ics.com>
To: interest at qt-project.org 
Sent: Friday, September 6, 2013 10:31 AM
Subject: Re: [Interest] Making an ORM Library
 

Den 06-09-2013 15:57, Konstantin Tokarev skrev:
>
> 06.09.2013, 17:32, "Michael Dougras Silva" <micdoug.silva at gmail.com>:
>> Hi,
>>
>> I am making an ORM library for Qt using the meta-object system to store informations about the classes to be mapped. I am using defines like Q_PROPERTY() with parameters that generates inline functions returning the meta information, helping me to register this informations on meta-object system.
>>
>> This works for now, but I thinking that all classes to be mapped have to be QObject derivated, thus store this classes in Qt containers isn't possible.
>>
>> There are a way to use the meta-object system without derivating from QObject? If not, I thinking to make an application like moc that generates code for storing the meta information, thus making possible to use the classes mapped without deriving from QObject. What do you thinking about this?
>
> Have you looked at QxOrm or ODB? Both of them do not require derivation from QObject.

Konstantins answer also suggests that the time might be better spent 
helping out one of the two existing projects instead of starting a new one.

Bo.

-- 
Bo Thorsen, European Qt Manager, Integrated Computer Solutions
ICS - Delivering World-Class Applications for Embedded & Mobile Devices
http://ics.com/services
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130911/fed8d21f/attachment.html>


More information about the Interest mailing list