ODB Examples
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.
- A "Hello World" example that shows how to use ODB to perform basic database operations.
- Shows how to use the ODB Query Language to search the database for persistent objects matching certain criteria.
- Shows how to declare and use composite value types.
- Shows how to use containers as data members in persistent objects.
- Shows how to declare and use unidirectional to-one and to-many relationships.
- Shows how to declare and use bidirectional one-to-one, one-to-many, and many-to-many relationships.
- Shows how to use reuse-style inheritance.
- Shows how to use polymorphism-style inheritance.
- Shows how to use object sections to implement lazy-loading and change-updating of a subset of data members in a persistent class.
- Shows how to define and use object, table, mixed, and native views.
- Shows how to use prepared queries.
- Shows how to use optimistic concurrency.
- Shows how to use virtual data members to implement a persistent class that employs the pimpl C++ idiom.
- Shows various approaches used by ODB to access data members that cannot be accessed directly.
- Shows how to use ODB with C++11.
- Shows how to persist objects that use Boost smart pointers, containers, and value types with the help of the Boost profile library (
libodb-boost).
- Shows how to persist objects that use Qt smart pointers, containers, and value types with the help of the Qt profile library (
libodb-qt).
- Shows how to generate and use a database schema that is embedded into the application.
- Shows how to map persistent C++ classes to a custom database schema.
- Shows how to customize the mapping between C++ value types and database types.
ODB Examples的更多相关文章
- ODB 下载与安装 (Linux)
http://www.codesynthesis.com/products/odb/download.xhtml Installing ODB on UNIX Introduction This gu ...
- linux 下 一步一步安装odb
Introduction This guide presents step-by-step instructions for installing the ODB system on UNIX-lik ...
- ODB学习笔记之基础环境搭建
一,简介 ODB是应用于C++的一个开源.跨平台.跨数据库的对象关系映射(ORM)系统. 它可以让你持久化C++对象到关系数据库,而不必处理表.列或者SQL,无需手动编写任何映射代码. ODB支持 ...
- 【一】ODB - C++ 访问数据库的利器--Hello World On Windows(Version-24)
本文以MySQL数据库为例,其他数据类似. 官方文档和下载 ODB官方首页 官方开发者说明书(开发教程) 安装下载首页(下载与安装教程Windows/Linux) Windows安装步骤(都是英 ...
- Js: Extensible Calendar Examples
http://ext.ensible.comhttps://github.com/bmoeskau/Extensiblehttps://github.com/TeamupCom/extensibleh ...
- 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 ...
- https://github.com/chenghuige/tensorflow-exp/blob/master/examples/sparse-tensor-classification/
https://github.com/chenghuige/tensorflow-exp/blob/master/examples/sparse-tensor-classification/ ...
- (转载)SQL Reporting Services (Expression Examples)
https://msdn.microsoft.com/en-us/library/ms157328(v=SQL.100).aspx Expressions are used frequently in ...
- 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 ...
随机推荐
- 使用extract-text-webpack-plugin插件后报错
如果你使用的webpack是4+版本,那么尝试运行npm install extract-text-webpack-plugin@next ,即可解决问题 然而最好的解决办法是在webpack4+的版 ...
- C++ 中的new、malloc、namespace
1,这些新引入的成员想要解决 C 语言中存在的一些问题, 2,动态内存分配: 1,C++ 中的动态内存分配: 1,C++ 中通过 new 关键字进行基于类型的动态内存申请: 1,C 语言中自身不包含动 ...
- [LeetCode] 39. 组合总和
题目链接 : https://leetcode-cn.com/problems/combination-sum/ 题目描述: 给定一个无重复元素的数组 candidates 和一个目标数 target ...
- 学习Golang语言(6):类型--切片
学习Golang语言(1): Hello World 学习Golang语言(2): 变量 学习Golang语言(3):类型--布尔型和数值类型 学习Golang语言(4):类型--字符串 学习Gola ...
- javascript百度地图使用(根据地名定位、根据经纬度定位)
需要购买阿里云产品和服务的,点击此链接领取优惠券红包,优惠购买哦,领取后一个月内有效: https://promotion.aliyun.com/ntms/yunparter/invite.html? ...
- gomock
参考 使用Golang的官方mock工具--gomock
- 华为云搭建windows+wordpress+xampp
1.如何将本地文件上传至华为云ECS云服务器(Windows系统) 1.1 在本地电脑上,快捷键“WIN+R"打开“运行”中输入“mstsc”,点击确定 1.2 在“远程桌面连接”框点击“ ...
- mac chromedriver error
问题一:MAC 使用splinter error Traceback (most recent call last): from splinter.browser import Browser b = ...
- memset,内存初始化函数
# include <string.h> void *memset(void *s, int c, unsigned long n); 函数的功能是:将指针变量 s 所指向的前 n 字节的 ...
- CodeBlocks17.12+汉化包下载及用法
本文已迁移至:https://blog.csdn.net/COCO56/article/details/95228780