Re: override toString()

damien hostin <[email protected]> Wed, 28 Apr 2010 15:48:26 +0200
Newsgroups gmane.comp.java.orm.simpleorm
Message-ID <[email protected]>
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:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/