From boris at codesynthesis.com Wed Apr 6 03:07:31 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Apr 6 03:10:00 2011 Subject: [odb-users] ODB 1.3.0 released Message-ID: Hi, We have released ODB 1.3.0. The NEWS file entries for this release are as follows: * Support for the SQLite database. Provided connection factories include 'new' (new connection is created every time one is requested), 'single' (single connection is shared among all the callers), and 'pool' (a pool of connections is maintained). In multi-threaded applications the runtime uses the SQLite shared cache and unlock notification features to aid concurrency. For more information, refer to Chapter 11, "SQLite Database" in the ODB manual. * Support for database-specific profiles. Now the ODB compiler first looks for the -.options file and only if this file is not found, does it fall back to .options. * Support for the GCC 4.6 plugin interface changes. 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: e88688852b910f46dfac9284ae6ed48d74f1cbf2 libodb-1.3.0.tar.bz2 e2665950d9aba63c83a7510bcf1957486e03dd98 libodb-1.3.0.tar.gz c45697d8efd4d002a479d38e2f19bf9336926262 libodb-1.3.0.zip a5b5c62410a1ac7e341b01d433e96f02bc37815b libodb-boost-1.3.0.tar.bz2 c115403fb97d0ba43275595e72aa51f17f63b04e libodb-boost-1.3.0.tar.gz fc5f24ab68a330e71e45179d2bde107bfcf9cf19 libodb-boost-1.3.0.zip 1ddad6a6a67b019a318a8f18a950a748a7580db8 libodb-mysql-1.3.0.tar.bz2 b245e1b0642ecb6a528c0b3a41f6457044b386a1 libodb-mysql-1.3.0.tar.gz 5cdc957921a95bf1d6832bf2987539663190ccbd libodb-mysql-1.3.0.zip 360cbe2ebf5aa376ed4dfd2fca7dec8b541905ec libodb-sqlite-1.3.0.tar.bz2 5545d52a174b33e97b6de620ebdb28d4f9cf302a libodb-sqlite-1.3.0.tar.gz 6b002f489f1e5360fdf25642bbd7b0680af35b00 libodb-sqlite-1.3.0.zip 1908a95ba36c54aa0580e69b32963da5ee49561e libodb-tracer-1.3.0.tar.bz2 506a7c667937e1e85761c1abdc313e85f3fec79f libodb-tracer-1.3.0.tar.gz 4693f59c24a127c4f78631e4393c98bc39e307fe libodb-tracer-1.3.0.zip 71fe19a71a1024c2964d4bfc48896244c6547a4a odb-1.3.0-i686-linux-gnu.tar.bz2 fecb2bb420f9d6a05c2834c98ee84ffae2395ace odb-1.3.0-i686-macosx.tar.bz2 4c2ae9618b6a8b792c9ad18f0a8a2e96c41d8912 odb-1.3.0-i686-solaris.tar.bz2 7901df90a33826ca83a532b40142a9dad4e0bc98 odb-1.3.0-i686-windows.zip 536202dfbfaca1f19e482944ea6665cac5e6d803 odb-1.3.0-sparc-solaris.tar.bz2 8bfb2034cc6a554d09708e371564215bb596b621 odb-1.3.0.tar.bz2 9b8e7782bb4ebb3858d8179ea5214260df6b9859 odb-1.3.0.tar.gz 5224e76a2568b704a5f2ed232ec6ffbf116e50e0 odb-1.3.0-x86_64-linux-gnu.tar.bz2 168b7505c542a10e0d71de469a44913c1e49d204 odb-1.3.0.zip 4bb687596387db65a2531ae8b0b0aabddbf70167 odb-examples-1.3.0.tar.bz2 b238d4e2d27c378c29051e2fd1d9249671050081 odb-examples-1.3.0.tar.gz 3ba3cf84aea9fa56dfe284ffe685c44d6e8096e2 odb-examples-1.3.0.zip 9155f4d7f729c0e37fbc01eb124ea039bdb510a4 odb-tests-1.3.0.tar.bz2 4d4c9c915900dc6a26191c73fed3dcc179526361 odb-tests-1.3.0.tar.gz 89606a385aee2fc0f9511c3b0033fe9280434d22 odb-tests-1.3.0.zip Enjoy, Boris From bhartsb at gmail.com Tue Apr 12 11:51:49 2011 From: bhartsb at gmail.com (B Hart) Date: Tue Apr 12 11:51:57 2011 Subject: [odb-users] When is there going to be support for MS SQL? In-Reply-To: References: Message-ID: Any progress on this? Thanks. On Wed, Mar 2, 2011 at 5:50 AM, Boris Kolpackov wrote: > Hi, > > B Hart writes: > > > When is there going to be support for MS SQL? > > The current roadmap is to have this support publicly available in about 3-4 > months, perhaps earlier for beta testing. > > > > Also, with regard to the dynamic generation of DB schema: Is the Schema > > generation able to do any kind of normalization? E.g. If I had a Person > > Class and it contained address information, would I need to create a > > separate class for each or could it use one class and create 2 tables. > > No, if you want the address to be stored in a separate table, then you will > need to create a separate persistent class for it. Then, in the Person > class > you can have a pointer to the address which will be translated to a > reference > in the database. > > Boris > From boris at codesynthesis.com Wed Apr 13 07:00:31 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Apr 13 07:03:45 2011 Subject: [odb-users] When is there going to be support for MS SQL? In-Reply-To: References: Message-ID: Hi, B Hart writes: > Any progress on this? We are making progress but MS SQL support is still a couple of months away. Boris From boris at codesynthesis.com Wed Apr 27 07:43:38 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Apr 27 07:26:03 2011 Subject: [odb-users] ODB 1.4.0 released Message-ID: 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 emails_; QByteArray publicKey_; QSharedPointer 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