[odb-users] ODB 1.4.0 released
Boris Kolpackov
boris at codesynthesis.com
Wed Apr 27 07:43:38 EDT 2011
Hi,
We have released ODB 1.4.0. The NEWS file entries for this release are
as follows:
* New profile, qt, provides persistence support for the Qt framework. This
version covers the most commonly used basic types, date-time types, smart
pointers, and containers. For example, now you can write:
#pragma db object
class Employee
{
...
QString first_name_;
QString last_name_;
QDate born_;
QSet<QString> emails_;
QByteArray publicKey_;
QSharedPointer<Employer> employer_;
};
The qt profile implementation is provided by the libodb-qt library. For
more information refer to Chapter 13, "Profiles Introduction" and Chapter
15, "Qt Profile" in the ODB manual as well as the 'qt' example in the
odb-examples package.
* Support for non-polymorphic object inheritance, including the new abstract
pragma. For more information refer to Chapter 8, "Inheritance" in the ODB
manual as well as the 'inheritance' example in the odb-examples package.
* Automatic mapping of C++ enumerations to suitable database types. In
database systems that support enumeration types (such as MySQL), a C++
enum is mapped to such a type (for example, ENUM('red', 'green', 'blue')
in MySQL). Otherwise, it is mapped to a suitable integer type. Refer to
Part II, "Database Systems" in the ODB manual for more details on the
provided mappings.
* New pragma, id_type, allows the specification of the native database type
that should be used for data members designated as object identifiers. In
combination with the type pragma, id_type allows you to map a C++ type
differently depending on whether it is used in an ordinary member or an
object id.
* New options, --odb-prologue-file and --odb-epilogue-file, allow the
inclusion of file contents into the ODB compilation.
* Default mapping of the size_t and std::size_t types to a 64-bit integer
database type irrespective of the platform width. This can be overridden
with the type pragma.
Source code and pre-compiled binary packages for this release are available
from the ODB download page:
http://www.codesynthesis.com/products/odb/download.xhtml
SHA1 checksums for the files in this release are as follows:
33146e6960c94740035378ce8cb7b5a524a2c5dd libodb-1.4.0.tar.bz2
62b3565c06c1d6538777a21dc842f2dae3b48838 libodb-1.4.0.tar.gz
a6b21a11ec999a6d750e904d16c2bce6126ac6bd libodb-1.4.0.zip
1220b89a80270949cda820134da9588a45185c79 libodb-boost-1.4.0.tar.bz2
64fd9546d2b3886cee137a717aa64c7148e5b234 libodb-boost-1.4.0.tar.gz
71cf3d3965ddaccffa2e90924bfe156a87a45d24 libodb-boost-1.4.0.zip
40ad4f8e92b5ab89e06bca217633d04f8c48ab73 libodb-mysql-1.4.0.tar.bz2
e65b8ed6c9961cb21c1e17ac8f7877652ff9f5f4 libodb-mysql-1.4.0.tar.gz
ec281b03b24d256537fc597e3a8c73d2b94bb2b3 libodb-mysql-1.4.0.zip
588692039e85e349bd4582e5c38e5e959f2f4071 libodb-qt-1.4.0.tar.bz2
7877ee42c2c7939e49f340cb8a9ebc5c6949ca41 libodb-qt-1.4.0.tar.gz
2217763fcf2e0299e3de520c461bf7fe4ce0678e libodb-qt-1.4.0.zip
97a56bf68667168dcc5482c7384ab1bc42dc7e89 libodb-sqlite-1.4.0.tar.bz2
c83f9c0d30f577669f4cff2af5db7e27521cbd11 libodb-sqlite-1.4.0.tar.gz
4cbf67b34807823f6bf339d2f09c94089d6c0dbb libodb-sqlite-1.4.0.zip
fbd50aad6faa180a6b8960d9cef8331658407d04 libodb-tracer-1.4.0.tar.bz2
2f9dbfe8dec7b46d5951f51f040cddbd423e665d libodb-tracer-1.4.0.tar.gz
e0256a45f30392b13bd19731627fbc93e9d0c97f libodb-tracer-1.4.0.zip
5e287886a0c4522c8370156be0e25ed14c962c28 odb-1.4.0-i686-linux-gnu.tar.bz2
de787f8701b3940b502b42db57a91cfcb9c1ee13 odb-1.4.0-i686-macosx.tar.bz2
64883b19759c0c6f91fd7208ab06ed547bc94670 odb-1.4.0-i686-solaris.tar.bz2
3253e5fabed3aef3765079c3ec34823a1fb9ab05 odb-1.4.0-i686-windows.zip
194c469eeb21645aa7ea7d282a2ebae92495d487 odb-1.4.0-sparc-solaris.tar.bz2
96bc59ce52e391e580cb30343a2058ff4b49cdc2 odb-1.4.0.tar.bz2
67daffb7240a97fb334c658372f679a0d8376154 odb-1.4.0.tar.gz
e8325c3b2398456aa94786b25f77322be93b4afd odb-1.4.0-x86_64-linux-gnu.tar.bz2
e2703ff8ea8ab81d26dc75e4598559f47f2ded97 odb-1.4.0.zip
9ee239ea7dd1053c9f103bc25bf421a0667d10a2 odb-examples-1.4.0.tar.bz2
9226fdd968c24d8963106650120571779d0014b3 odb-examples-1.4.0.tar.gz
7b6d5ee79d893e0e60cbf605ee682a44994aef9d odb-examples-1.4.0.zip
29a2fa72ff8c1ebb52a579919c60b5755eb4e28e odb-tests-1.4.0.tar.bz2
a99b6ef5981649be6d2f7239468bab69e23d632b odb-tests-1.4.0.tar.gz
69eedc903d0b4cb0a085c56ab3899c2c11e857c4 odb-tests-1.4.0.zip
Enjoy,
Boris
More information about the odb-users
mailing list