dbTalk Databases Forums  

[ANN] ODB C++ ORM 1.4.0 released, adds support for Qt, inheritance

comp.databases.mysql comp.databases.mysql


Discuss [ANN] ODB C++ ORM 1.4.0 released, adds support for Qt, inheritance in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Boris Kolpackov
 
Posts: n/a

Default [ANN] ODB C++ ORM 1.4.0 released, adds support for Qt, inheritance - 04-27-2011 , 08:35 AM






Hi,

I am pleased to announce the release of ODB 1.4.0.

ODB is an open-source object-relational mapping (ORM) system for C++. It
allows you to persist C++ objects to a relational database without having
to deal with tables, columns, or SQL and without manually writing any of
the mapping code.

Major new features in this release:

* Qt profile providing persistence support for Qt basic types, date-time
types, smart pointers, and containers. For example:

#pragma db object
class Employee
{
...

QString first_name_;
QString last_name_;

QDate born_;

QSet<QString> emails_;
QByteArray publicKey_;

QSharedPointer<Employer> employer_;
};

* Support for non-polymorphic object inheritance including abstract base
classes.

* Automatic mapping of C++ enumerations to database ENUM or integer types.
For example, in MySQL enum color {red, green, blue}; would be mapped to
ENUM('red', 'green', 'blue').

A more detailed discussion of the new features can be found in the following
blog post:

http://codesynthesis.com/~boris/blog...-4-0-released/

For the complete list of new features in this version see the official
release announcement:

http://www.codesynthesis.com/piperma...11/000004.html

ODB is written in portable C++ and you should be able to use it with any
modern C++ compiler. In particular, we have tested this release on GNU/Linux
(x86/x86-64), Windows (x86/x86-64), Mac OS X, and Solaris (x86/x86-64/SPARC)
with GNU g++ 4.2.x-4.5.x, MS Visual C++ 2008 and 2010, and Sun Studio 12.

More information, documentation, source code, and pre-compiled binaries are
available from:

http://www.codesynthesis.com/products/odb/

Enjoy,
Boris

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.