[C++] [Qt] QxOrm 1.4.5 and QxEntityEditor 1.2.3 released : support MongoDB

73 views
Skip to first unread message

QxOrm

unread,
Sep 7, 2018, 5:59:18 AM9/7/18
to mongodb-user
Hello,

QxOrm library 1.4.5 and QxEntityEditor application 1.2.3 just released.

QxOrm library 1.4.5 changes log :
  • Support MongoDB database : QxOrm library becomes a C++/Qt Object Document Mapper ODM library !
  • For more details about MongoDB integration, see QxOrm manual and new sample project available in ./test/qxBlogMongoDB/ directory
  • QxOrm library is now available on GitHub (official repository)
  • Fix an issue in qx::IxSqlQueryBuilder class when QxOrm library is used in a multi-thread environment
  • Support latest version of boost (1.66)
  • Update boost portable binary serialization classes to version 5.1
  • Fix an issue building SQL query for Oracle database (doesn't support AS keyword for table alias)
  • Improve qx::QxClassX::registerAllClasses() function : possibility to initialize all relations (useful to work with introspection engine)
  • Improve qx::IxPersistable interface : provide new methods toJson() / fromJson()
  • Improve documentation/website : change http://www.qxorm.com by https://www.qxorm.com everywhere
  • Fix fetching relations with soft delete putting SQL condition in the JOIN part instead of WHERE part
  • Fix SQL generator for Oracle database : use new limit/pagination syntax (version Oracle > 12.1)
  • Improve SQL generator interface : add 'onBeforeSqlPrepare()' method to modify/log SQL queries in custom classes
  • Add an option in qx::QxSqlDatabase class to format SQL query (pretty-printing) before logging it (can be customized creating a qx::dao::detail::IxSqlGenerator sub-class)
  • Fix an issue with boost/std:ptional (to manage NULL database values) and some databases : if optional is empty, then create a NULL QVariant based on QVariant::Type
  • Add an option in qx::QxSqlDatabase class to insert square brackets (or any other delimiters) in SQL queries for table name and/or column name (to support specific database keywords)
  • Improve introspection engine : add getType() method in qx::IxDataMember interface to get C++ type of a property dynamically
  • Improve qx::QxSqlDatabase singleton settings class to make easier working with several databases : now there are 3 levels of settings : global >> per thread >> per database (see 'bJustForCurrentThread' and 'pJustForThisDatabase' optional parameters in all setXXXX() methods)
  • Fix QxOrm.pri for MinGW compiler on Windows : an issue could occurred to export some symbols from shared library (some Qt signals for example)
  • Add an option in qx::QxSqlDatabase singleton class to display only slow SQL queries (see setTraceSqlOnlySlowQueriesDatabase() and setTraceSqlOnlySlowQueriesTotal() methods)


QxEntityEditor application 1.2.3 changes log :
  • Fix a crash which appears sometimes with complex database schema to draw relationships (orthogonal way)
  • Improve QxEntityEditor command line parameters : possibility to import/export without using GUI (useful to manage a Jenkins server for example)
  • For more details about command line parameters, go to QxEntityEditor documentation



You can download latest version of QxOrm library and QxEntityEditor application on QxOrm website.

Andrew Morrow

unread,
Sep 11, 2018, 11:15:16 AM9/11/18
to mongod...@googlegroups.com

Hi 

Thanks for sharing! I do have one question. As QxOrm is written in C++, I found it interesting that it uses the MongoDB C driver directly, rather than using the MongoDB C++ driver. Could you provide some background on this decision?

Thanks,
Andrew

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/9462a894-a3ba-4e75-abd7-7c8615692a9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

MARTY Lionel

unread,
Sep 11, 2018, 6:30:16 PM9/11/18
to mongod...@googlegroups.com
Hello, this is just to not add another dependency to QxOrm. The C++ driver is interesting, especially for memory management, but for now this is not required by QxOrm library. 

Regards, 

Lionel Marty - QxOrm library 

You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/AZDu4Nw431M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.

To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
Reply all
Reply to author
Forward
0 new messages