joe black wrote:
>
> hi friends:
>
> This is part of source code of BaseXXX
>
> ...
> public void save(DBConnection dbCon) throws Exception
> {
> if (!alreadyInSave)
> {
> alreadyInSave = true;
> if (isModified())
> {
> if (isNew())
> {
> XXXPeer.doInsert((XXX)this, dbCon);
> setNew(false);
> }
> else
> {
> XXXPeer.doUpdate((XXX)this, dbCon);
> }
> }
> alreadyInSave = false; // Why this line? It's just saved, right?
> }
> }
> ...
it's there for the next time you call save on the object.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]