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

The following list gives an overview of the examples available in the odb-examples package. Each example is linked to its source code in the repository which also includes a README file with a more detailed description of the example.

hello

A "Hello World" example that shows how to use ODB to perform basic database operations.

query

Shows how to use the ODB Query Language to search the database for persistent objects matching certain criteria.

composite

Shows how to declare and use composite value types.

container

Shows how to use containers as data members in persistent objects.

relationship

Shows how to declare and use unidirectional to-one and to-many relationships.

inverse

Shows how to declare and use bidirectional one-to-one, one-to-many, and many-to-many relationships.

inheritance/reuse

Shows how to use reuse-style inheritance.

inheritance/polymorphism

Shows how to use polymorphism-style inheritance.

section

Shows how to use object sections to implement lazy-loading and change-updating of a subset of data members in a persistent class.

view

Shows how to define and use object, table, mixed, and native views.

prepared

Shows how to use prepared queries.

optimistic

Shows how to use optimistic concurrency.

pimpl

Shows how to use virtual data members to implement a persistent class that employs the pimpl C++ idiom.

access

Shows various approaches used by ODB to access data members that cannot be accessed directly.

c++11

Shows how to use ODB with C++11.

boost

Shows how to persist objects that use Boost smart pointers, containers, and value types with the help of the Boost profile library (libodb-boost).

qt

Shows how to persist objects that use Qt smart pointers, containers, and value types with the help of the Qt profile library (libodb-qt).

schema/embedded

Shows how to generate and use a database schema that is embedded into the application.

schema/custom

Shows how to map persistent C++ classes to a custom database schema.

mapping

Shows how to customize the mapping between C++ value types and database types.

ODB Examples的更多相关文章

  1. ODB 下载与安装 (Linux)

    http://www.codesynthesis.com/products/odb/download.xhtml Installing ODB on UNIX Introduction This gu ...

  2. linux 下 一步一步安装odb

    Introduction This guide presents step-by-step instructions for installing the ODB system on UNIX-lik ...

  3. ODB学习笔记之基础环境搭建

      一,简介 ODB是应用于C++的一个开源.跨平台.跨数据库的对象关系映射(ORM)系统. 它可以让你持久化C++对象到关系数据库,而不必处理表.列或者SQL,无需手动编写任何映射代码. ODB支持 ...

  4. 【一】ODB - C++ 访问数据库的利器--Hello World On Windows(Version-24)

    本文以MySQL数据库为例,其他数据类似. 官方文档和下载 ODB官方首页    官方开发者说明书(开发教程) 安装下载首页(下载与安装教程Windows/Linux) Windows安装步骤(都是英 ...

  5. Js: Extensible Calendar Examples

    http://ext.ensible.comhttps://github.com/bmoeskau/Extensiblehttps://github.com/TeamupCom/extensibleh ...

  6. Selenium Xpath Tutorials - Identifying xpath for element with examples to use in selenium

    Xpath in selenium is close to must required. XPath is element locator and you need to provide xpath ...

  7. https://github.com/chenghuige/tensorflow-exp/blob/master/examples/sparse-tensor-classification/

        https://github.com/chenghuige/tensorflow-exp/blob/master/examples/sparse-tensor-classification/ ...

  8. (转载)SQL Reporting Services (Expression Examples)

    https://msdn.microsoft.com/en-us/library/ms157328(v=SQL.100).aspx Expressions are used frequently in ...

  9. Examples of MIB Variables - SNMP Tutorial

    30.5 Examples of MIB Variables Versions 1 and 2 of SNMP each collected variables together in a singl ...

随机推荐

  1. Oracle Replace函数的简单使用

      REPLACE ( char, search_string [, replace_string]) 如果没有指定replace_string 变量的值,那么当发现search_string 变量的 ...

  2. 搜索专题: HDU1258Sum It Up

    Sum It Up Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total ...

  3. 内置time模块和random模块

    #time模块#time模块中有三种时间表达方式#时间戳(timestamp):指从1970年1月1号0:0:0开始按秒计算的时间偏移量#元组形式的结构化时间(strut_time):含有9个元素(t ...

  4. 023-OpenStack 创建实例类型临时磁盘的讲解

    临时磁盘占用的那块磁盘的空间查看 [root@linux-node1 dev]# fdisk -l 磁盘 /dev/sdb:26.8 GB, 26843545600 字节,52428800 个扇区 U ...

  5. VB TreeView控件使用详解(有趣的示例)

    第一小时:学习直接用代码将数据填充到树控件中. 为什么要先学习直接用代码将数据填充到树控件中?因为这种方法是最简单的,代码也最容易理解,学习树控件,先将这个学会,已经掌握了一半,所以先不要急着想怎么将 ...

  6. Codeforces Round #573 (Div. 2) D. Tokitsukaze, CSL and Stone Game (博弈,思维)

    D. Tokitsukaze, CSL and Stone Game time limit per test1 second memory limit per test256 megabytes in ...

  7. Comet OJ - Contest #0 A题 解方程 (数学)

    题目描述 小象同学在初等教育时期遇到了一个复杂的数学题,题目是这样的: 给定自然数 nn,确定关于 x, y, zx,y,z 的不定方程 \displaystyle \sqrt{x - \sqrt{n ...

  8. 计蒜客 蓝桥模拟 H. 封印之门

    Floyd算法,最短路,判断a,b是否相等. 代码: #include <cstdio> #include <cstdlib> #include <cstring> ...

  9. java 模拟表单方式提交上传文件

    /** * 模拟form表单的形式 ,上传文件 以输出流的形式把文件写入到url中,然后用输入流来获取url的响应 * * @param url 请求地址 form表单url地址 * @param f ...

  10. ztree点击加号+触发ajax请求

    之前做的时候一直是点击节点才触发ajax事件,配置如下:发现点击节点前面的“+”没有反应,后来发现,应该添加一个折叠的事件. onExpand:zTreeOnClick事件和onClick的一样. v ...