summaryrefslogtreecommitdiffstats
path: root/docs/02_usage.mkd
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-08-12 14:55:02 -0400
committerJames Moger <james.moger@gmail.com>2011-08-12 14:55:02 -0400
commit373a5c74f4c5e8cc19812a63893f6090d8f14b95 (patch)
tree249d858e377a95be68942e061cf97e91808a5601 /docs/02_usage.mkd
parent783797ff9ddfafa19481fda5295fcacd3c9b51cd (diff)
downloadiciql-0.6.4.tar.gz
iciql-0.6.4.zip
Documentation. Source cleanup. Prepare 0.6.4 release.v0.6.4
Diffstat (limited to 'docs/02_usage.mkd')
-rw-r--r--docs/02_usage.mkd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/02_usage.mkd b/docs/02_usage.mkd
index 4f823b5..2659e86 100644
--- a/docs/02_usage.mkd
+++ b/docs/02_usage.mkd
@@ -113,7 +113,7 @@ The Product model class instance named **p** is an *alias* object. An *alias* i
1. *Alias* instances are **NOT** thread-safe and must not be used concurrently.
2. *Alias* instances have no other purpose than to provide a compile-time/runtime map of your table.
-3. If you inspected an *alias* instance after using one you would find that it's fields have been assigned numeric values.<br/>These values are assigned from a static counter in `com.iciql.Utils.newObject()` during execution of the *db.from()* method.<p>For *Object* fields, these values are meaningless since objects are mapped by reference. These values do matter for *primitive* fields where they are mapped by value.
+3. If you inspected an *alias* instance after using one you would find that it's fields have been assigned numeric values.<br/>These values are assigned from a static counter in `com.iciql.Utils.newObject()` during execution of the *db.from()* method.<p>For *Object* fields, these values are meaningless since objects are mapped by reference.<br/>For *Primitive* fields these values do matter because primitives are mapped by value. The proper alias is selected as long as the primitive variant methods are used. e.g. db.from(p).where(int).is(Integer).select()
If your statement is a query, like in the above example, iciql will generate new instances of your *alias* model class and return them as a list where each entry of the list represents a row from the JDBC `ResultSet`.