28 Apr 2010 15:48
Re: override toString()
damien hostin <damien.hostin <at> axege.com>
2010-04-28 13:48:26 GMT
2010-04-28 13:48:26 GMT
Hello,
I override toString() several times and had no error. Maybe the problem
comes from your implementation of .toString(). More details on the
exception would be great to help !
Anyway toString must be "overridable".
Damien
Guenter Wildmann a écrit :
>
>
> If i override the toString() methode in a SRecordInstance (e.g. return
> getString(ID) + " ("+ getString(COMMENT)+")";)
> the findOrCreate-call produces an error (seems like a recursive
> call-problem).
> Do i have to do it a other way or is it a framework-problem?
>
> Ciao, Guenter
>
> _
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/SimpleORM/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/SimpleORM/join
(Yahoo! ID required)
<*> To change settings via email:
SimpleORM-digest <at> yahoogroups.com
SimpleORM-fullfeatured <at> yahoogroups.com
<*> To unsubscribe from this group, send an email to:
SimpleORM-unsubscribe <at> yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
RSS Feed