Changes for page WebObjects and Squeryl
Last modified by Ravi Mendis on 2011/04/01 11:14
From version 98.1
edited by Ravi Mendis
on 2010/11/10 04:58
on 2010/11/10 04:58
Change comment:
There is no comment for this version
To version 101.1
edited by Ravi Mendis
on 2010/11/10 05:38
on 2010/11/10 05:38
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -22,7 +22,7 @@ 22 22 23 23 * Make sure **all** EO entities have a class name (including abstract many-To-many "join" tables). There's no support for entities marked as ##EOGenericRecord##. 24 24 * Mark the abstract many-To-Many join entities as ##Abstract##. 25 -* (Temporary) Ensure all the model entities are in the same package. i.e ##model##<-> ##package##corresponds1-to-1.25 +* (Temporary) Ensure all the model entities are in the same package. i.e the package is exclusive to the model. 26 26 27 27 === Generating the Squeryl Schema === 28 28 ... ... @@ -38,3 +38,9 @@ 38 38 Any custom business "logic" will have to be manually re-written in Scala 39 39 40 40 {{/note}} 41 + 42 +== Differences Between a Squeryl Schema and EOF Classes == 43 + 44 +* Optional attributes (i.e those that ##allowsNull##) are typed as ##Option[[T]]## 45 +* Relationships that are not mandatory (i.e optional relationships) are also typed as ##Option[[T]]## 46 +* ToMany relationships are represented as a Squeryl iterable (collection class) as opposed to an ##NSArray##.