Download List

Descripción del Proyecto

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.

System Requirements

System requirement is not defined
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

Esta versión implementa por orden y utilizar-lista = propiedades de la relación 'falso': útil para la relación uno a uno. Añade métodos create_schema() y drop_schema() a la clase de motor. Tiene un serializador JSON básico de ElementTree. Optimiza DataObject y RelationObject algorítmico. CodeGen: el typedef titular se ha movido en una clase de dominio. Comparación de objeto de dominio se ha solucionado, lo que le permite poner en mapas y sistemas. Hay una solución para tablas sin una clave de suplente y con una clave suplente asignado manualmente. Hay arreglos para un mejor soporte de tablas con claves compuestas. Se han corregido muchos errores tipográficos.
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

Esta es principalmente una versión de refactorización y bugfixing.

Agrega Tutorial 4 (estructura de árbol almacenada en una tabla), añade correcciones para construir bajo Mac OS X, refactors la jerarquía de la clase de motor, llena de valores FK en la vinculación de dos objetos si es posible, se extiende el registro para la operación de delete_object(), hace declaraciones DDL generadas del esquema iterable, cambia el nombre de varias clases y archivos para seguir el estilo común y para reflejar mejor su contenidoy añade muchas correcciones a la lógica de la biblioteca e interfaces.
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

Una nueva sintaxis más intuitiva para los filtros en las consultas a través de la sobrecarga de operadores. Al consultar una tupla de clases de dominio, se emitirá una consulta con una combinación de las tablas correspondientes. El objeto de consulta tiene el nuevo métodos .one() y .count() además el método .all(). Tutorial3: Se ha agregado el consultar objetos. Se han solucionado un par de errores sutiles. La muestra de Auth se mejora, utilizando el singleton de aplicación para crear sesiones.
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

Esta versión integra un controlador nativo de SQLite para uso en compilaciones no Qt. Se utiliza en las compilaciones de Windows por defecto. Se mejoró el registro en el núcleo ORM. URL ahora pueden utilizarse para especificar las conexiones. Nuevo--con-prueba-db-url y - con-yborm-root configuración opciones de secuencia de comandos y se agrega una variable de entorno YBORM_URL. Se han solucionado problemas con eliminación de objetos. Las interfaces de las clases de metadatos se limpian, hacer más legible el código generado. Una nueva clase de expresión había reemplazado la vieja clase de filtro.
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