aboutsummaryrefslogtreecommitdiff
path: root/mapping/README
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-26 09:17:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-26 09:17:15 +0200
commit6ae5df8a85cd0344cc12effe788f7e09d06df372 (patch)
treefef101ef0ab4c83dff84370e12640f900101e806 /mapping/README
parente159da71e25aa50fc73479f9aa7aef7185c28a1c (diff)
Add note on embedded schemas
Diffstat (limited to 'mapping/README')
-rw-r--r--mapping/README6
1 files changed, 4 insertions, 2 deletions
diff --git a/mapping/README b/mapping/README
index 2a06351..4c9c224 100644
--- a/mapping/README
+++ b/mapping/README
@@ -52,8 +52,10 @@ driver.cxx
instance. It then persists a number of 'person' objects in the database
and executes a query to find objects matching certain criteria.
-To run the example we first need to create the database schema. Using MySQL
-as an example, this can be achieved with the following command:
+To run the example we may first need to create the database schema (for some
+database systems, such as SQLite, the schema is embedded into the generated
+code which makes this step unnecessary). Using MySQL as an example, this
+can be achieved with the following command:
mysql --user=odb_test --database=odb_test < person.sql