You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by mp...@apache.org on 2003/05/14 22:11:13 UTC
cvs commit: db-torque/src/generator/src/templates/om Peer.vm
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 <tu...@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
Re: cvs commit: db-torque/src/generator/src/templates/om Peer.vm
Posted by Martin Poeschl <mp...@marmot.at>.
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 <tu...@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
>