Downloadliste

Projektbeschreibung

The YB.ORM library aims to simplify writing C++ code that has to deal with SQL databases. The goal is to provide a convenient interface like SQLAlchemy (Python) or Hibernate (Java). The library itself is cross-platform and supports a variety of SQL dialects: SQLite3, MySQL, Postgres, Oracle, and Firebird. Integration with Boost, Qt4, and wxWidgets is built-in. In a typical usage scenario, you would describe your database schema and table relationships in a simple XML-based format, generate SQL code to populate database schema with tables, generate C++ classes, add application-specific logic to the classes, and use these classes in cooperation with the Session object to query objects from the database, create new or modify/delete existing objects, or link and unlink objects using relations. Simple serialization to XML is supported along with connection pooling.

Systemanforderungen

Die Systemvoraussetzungen sind nicht definiert
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2013-02-01 06:56
0.3.4

Diese Version implementiert, Order by und Liste verwenden = 'false' Beziehungseigenschaften: nützlich für 1: 1-Beziehung. Create_schema() und drop_schema() Methoden hinzugefügt der Engine-Klasse. Es hat eine grundlegende JSON-Serialisierungsprogramm aus ElementTree. Es optimiert die algorithmisch DataObject und RelationObject. CodeGen: die Inhaber Typedef ist in einer Domänenklasse verschoben worden. Vergleich von Objekten wurde behoben, so dass Sie sie in Karten und Sets zu stellen. Gibt es eine Verlegenheit für Tabellen ohne Ersatzschlüssel und Tabellen mit manuell zugewiesenen Ersatzschlüssel. Es gibt Lösungen für eine bessere Unterstützung von Tabellen mit Verbundschlüssel. Viele Tippfehler wurden beseitigt.
Tags: Minor, Alpha
This release implements order-by and use-list='false' relationship properties: useful for one-to-one relation. It adds create_schema() and drop_schema() methods to the Engine class. It has a basic JSON serializer from ElementTree. It optimizes DataObject and RelationObject algorithmically. CodeGen: the Holder typedef has been moved into a domain class. Domain object comparison has been fixed, allowing you to put them in maps and sets. There is a fix for tables without a surrogate key and tables with a manually assigned surrogate key. There are fixes for better support of tables with compound keys. Many typos have been fixed.

2013-01-03 10:25
0.3.3

Dies ist meist ein refactoring und Bugfixing Release.

Es fügt Tutorial 4 (Baumstruktur in einer Tabelle gespeichert), fügt Verlegenheiten zu erstellen unter Mac OS X, gestaltet die Klassenhierarchie Engine, füllt FK-Werte auf die Verknüpfung zweier Objekte möglichst, erstreckt sich die Protokollierung für delete_object() Betrieb, macht DDL-Anweisungen aus abzählbaren-Schema generiert, benennt mehrere Klassen und Dateien im gemeinsamen Stil zu folgen und deren Inhalte besser widerspiegelt, und fügt viele Fixes Bibliothek Logik und Schnittstellen.
Tags: Minor, Alpha
This is mostly a refactoring and bugfixing release.

It adds Tutorial 4 (tree structure stored in a table),

adds fixes to build under Mac OS X,

refactors the Engine class hierarchy,

fills FK values on linking of two objects if possible,

extends logging for delete_object() operation,

makes DDL statements generated from Schema iterable,

renames several classes and files to follow the common style and to better reflect their contents,

and adds many fixes to library logic and interfaces.

2012-10-02 05:35
0.3.2

Eine neue intuitive Syntax für Filter in Abfragen über überladen. Bei der Abfrage ein Tupel von Domäne Klassen wird es eine Abfrage mit eine Verknüpfung der entsprechenden Tabellen ausgegeben. Das Abfrageobjekt hat die neuen Methoden .one() und .count() neben der .all() Methode. Tutorial3: Abfragen von Objekten wurde hinzugefügt. Ein paar geringfügige Fehler wurden behoben. Die Auth-Probe wird verbessert, mit das Anwendung Singleton für Erstellung von Sitzungen.
Tags: Minor, Alpha
A new more intuitive syntax for filters in queries via operator overloading. When querying a tuple of domain classes, there will be issued a query with a join of corresponding tables. The query object has the new methods .one() and .count() in addition to the method .all(). Tutorial3: Querying objects has been added. A couple of subtle bugs have been fixed. The Auth sample is improved, using the application singleton for creating sessions.

2012-09-01 13:38
0.3.1

In dieser Version integriert einen nativen SQLite Treiber für den Einsatz in nicht-Qt baut. Es wird verwendet in der Standardeinstellung Windows-Builds. Protokollierung in der ORM-Kern wurde verbessert. URLs können jetzt verwendet werden, um Verbindungen anzugeben. Neu--Test-Db-Url und mit-Yborm-Root Skriptoptionen konfigurieren und eine Umgebungsvariable YBORM_URL wurden hinzugefügt. Probleme mit Löschen von Objekten wurden behoben. Die Schnittstellen der Metadaten-Klassen wurde aufgeräumt, den generierten Code besser lesbar zu machen. Eine neue Expression-Klasse ersetzt die alte Klasse Filter.
Tags: Minor, Alpha
This release integrated a native SQLite driver for use in non-Qt builds. It is used in Windows builds by default. Logging in the ORM core was improved. URLs can now be used to specify connections. New --with-test-db-url and --with-yborm-root configure script options and a YBORM_URL environment variable were added. Problems with deletion of objects were fixed. The interfaces of MetaData classes was cleaned up, making the generated code more readable. A new Expression class replaced the old Filter class.

Project Resources