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 Colin Edward Freas <ce...@georgetown.edu> on 2005/02/08 18:10:49 UTC

Torque datadump issue.

Here's my setup:

Oracle 10g
Java 2 SE SDK 1.4.2_7
Ant 1.6.2
Maven 1.0.1
Torque 3.1.1

I've used the jdbc goal in maven to create a schema.xml file, and now 
I'm trying to get the datadump goal to work.

Datadump chokes on a table with a handful of columns, a primary key, 
three foreign keys, and a bunch of data.  This is the tail of the 
velocity log:
.
 .
  .
2005-02-08 11:46:39,893 - ResourceManager : found data/dump/row.vm with 
loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2005-02-08 11:46:39,900 - Warning! The reference $tableTool is an 
Iterator in the #foreach() loop at [22,5] in template 
data/dump/Control.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.

2005-02-08 11:46:39,902 - Warning! The reference $tableTool is an 
Iterator in the #foreach() loop at [22,5] in template 
data/dump/Control.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.

2005-02-08 11:46:39,904 - Warning! The reference $tableTool is an 
Iterator in the #foreach() loop at [22,5] in template 
data/dump/Control.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.

2005-02-08 11:47:55,907 - Method fetch threw exception for reference 
$tableTool in template data/dump/Control.vm at  [22,21]
...

Odd thing to me is there are several tables it extracts data from before 
the one it chokes at, and some of them are more complex.  I haven't had 
much luck in hunting down anyone with a similar bug, or references to 
this problem. 

Thanks.

Colin Freas
Advanced Research Computing
Georgetown University
Washington, DC, USA

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org