db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Poeschl <mpoes...@marmot.at>
Subject Re: cvs commit: db-torque/src/generator/src/templates/om Peer.vm
Date Wed, 14 May 2003 20:26:08 GMT
this also includes the fix of TRQS139:Wrong invocation of populateObject in peer class

martin

mpoeschl@apache.org wrote:
> mpoeschl    2003/05/14 13:11:12
> 
>   Modified:    src/generator/src/templates/om Peer.vm
>   Log:
>   commons-logging
>   
>   Revision  Changes    Path
>   1.2       +3 -3      db-torque/src/generator/src/templates/om/Peer.vm
>   
>   Index: Peer.vm
>   ===================================================================
>   RCS file: /home/cvs/db-torque/src/generator/src/templates/om/Peer.vm,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- Peer.vm	10 Feb 2003 13:18:45 -0000	1.1
>   +++ Peer.vm	14 May 2003 20:11:12 -0000	1.2
>   @@ -94,7 +94,7 @@
>                }
>                catch (Exception e)
>                {
>   -                category.error("Could not initialize Peer", e);
>   +                log.error("Could not initialize Peer", e);
>                }
>            }
>            else
>   @@ -130,7 +130,7 @@
>            }
>            catch (Throwable t)
>            {
>   -            category.error("A FATAL ERROR has occurred which should not "
>   +            log.error("A FATAL ERROR has occurred which should not "
>                    + "have happened under any circumstance.  Please notify "
>                    + "the Torque developers <turbine-torque-dev@jakarta.apache.org>
"
>                    + "and give as many details as possible (including the error "
>   @@ -338,7 +338,7 @@
>            try
>            {
>                $table.JavaName obj = ($table.JavaName) cls.newInstance();
>   -            populateObject(row, offset, obj);
>   +            ${table.JavaName}Peer.populateObject(row, offset, obj);
>                #if ($addSaveMethod)
>                    obj.setModified(false);
>                #end
>   
>   
>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
> 



Mime
View raw message