Hi
Im building a descriptor system with Glorp and the classModelForCLASSNAME.
For a DirectMapping i usually use somehting like:
aClassModel newAttributeNamed: #anAttribute.
Ive noticed that i may also say:
aClassModel newAttributeNamed: #anAttribute type: Integer.
I assumed that this would specify that anAttribute is an instance variable
of type Integer. The corresponding field in the DB table is a float. When
loading the object from the DB, the instance variable anAttribute is still
loaded as a float. My question is what is the point of #newAttribute:type:?
--
View this message in context:
http://forum.world.st/Glorp-what-does-newAttributeNamed-type-do-tp3598839p3598839.htmlSent from the VisualWorks mailing list archive at Nabble.com.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc