Hello Asaf,
One other thing to check is that since getAsString is used as an accessor to the asString attribute (even if it doesn't exist) it should also have a set method for it to be persisted. If it doesn't, TopLink should be throwing a warning stating this field is ignored - or it would if you have logging enabled. Try enabling logging using the property name="toplink.logging.level" value="FINEST"> tag and see if any messages relate to this issue.
Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]
http://forums.java.net/jive/thread.jspa?messageID=216211